wildcard

Ash

New Member
Joined
Oct 31, 2002
Messages
2
I have a column of job numbers T2003, T3009,
T2009 etc which I am using to sort onto
different sheets which is working fine.
However the wildcard below is not being recognised. Cannot find a solution anywhere.I'm guessing it's very basic but can't find a solution anywhere.

If ActiveCell = "t*" Then
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Barrie Davidson

MrExcel MVP
Joined
Feb 10, 2002
Messages
2,330
On 2002-11-01 17:30, Ash wrote:
I have a column of job numbers T2003, T3009,
T2009 etc which I am using to sort onto
different sheets which is working fine.
However the wildcard below is not being recognised. Cannot find a solution anywhere.I'm guessing it's very basic but can't find a solution anywhere.

If ActiveCell = "t*" Then

Try

If Left(ActiveCell.Value, 1) = "t" Then

Regards,
 

Forum statistics

Threads
1,144,510
Messages
5,724,781
Members
422,578
Latest member
annsalinas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top