Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi Would this be acceptable? Sub if_string() 'Assuming data is a column a rowcount = Cells(Cells.Rows.Count, "a").End(xlUp).Row For i = 1 To rowcount Range("a" & i).Select If Application.IsText(ActiveCell) = True Then 'do something MsgBox "a" Else 'do something different End If Next End Sub -- jetted ------------------------------------------------------------------------ jetted's Profile: http://www.excelforum.com/member.php...o&userid=17532 View this thread: http://www.excelforum.com/showthread...hreadid=563386 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Testing same cell across multiple sheets for a string and counting each instance? | Excel Worksheet Functions | |||
Testing a string array for any values | Excel Programming | |||
Formula to extend a string of type AAA001 | Excel Worksheet Functions | |||
Variant Array with String Values - Type Mismatch | Excel Programming | |||
Type mismatch? string 2 a long?? | Excel Programming |