G
Guest
Using XL 2003 & 97
Formula Cells are selected:
Selection.SpecialCells(xlCellTypeFormulas, 23).Select
............
............
As each cell is evaluated I need to know:
If the cell contains a plus sign (+) AND with the following (very next
position) being any digit (1234567890)
-OR-
If the cell contains a minus sign (-) AND with the following (very next
position) being any digit (1234567890)
-OR-
If the very first position in the cell formula is a digit
If any one of the above three possibilities is true then a result of "true"
or > 0 would work very well.
I know something about the string functions like MID() etc., but I do know
know how to weave the above three possibilities into an efficient and
accurate VBA loop.
Any thoughts would be helpful!
TIA
Dennis
Formula Cells are selected:
Selection.SpecialCells(xlCellTypeFormulas, 23).Select
............
............
As each cell is evaluated I need to know:
If the cell contains a plus sign (+) AND with the following (very next
position) being any digit (1234567890)
-OR-
If the cell contains a minus sign (-) AND with the following (very next
position) being any digit (1234567890)
-OR-
If the very first position in the cell formula is a digit
If any one of the above three possibilities is true then a result of "true"
or > 0 would work very well.
I know something about the string functions like MID() etc., but I do know
know how to weave the above three possibilities into an efficient and
accurate VBA loop.
Any thoughts would be helpful!
TIA
Dennis