I am trying to make a VBA loop to identify if first character in cell A starts from digit and if yes, copy cell value from column B in this row to column C and offset it one row up....
I guess this would be the backbone of the code, back I need help with identifying if first character in cell A is a digit and then use proper code to copy cell B and offset it:
I guess this would be the backbone of the code, back I need help with identifying if first character in cell A is a digit and then use proper code to copy cell B and offset it:
VBA Code:
Sub TestForDigit()
Dim x As Integer
Dim c As Range
x = 0
For Each c In Range("A1:A100")
'if c.Value = (if starts from digit)
If c.Value = (starts from digit)
Then (copy cell in col B to col C and offset it one cell up)
End If
Next c
End Sub