Hi guys,
I am trying to program a loop in Excel VBA to read the first two characters of a cell in column A and, depending on the characters returned, to print something else in column B, then move to the next row up. What I have so far below is pieced together from little insights from over the web, but currently it does nothing. Not even error messages. It has more fields (if "XX" > print blah blah) but they are all the same, so only the first two iterations are shown here for clarity.
If you can see what is wrong with this code, or indeed, if you have a better idea for how I can tackle this problem, I would really appreciate hearing from you.![]()
Please Login or Register to view this content.
Bookmarks