AaronBallard
New Member
- Joined
- Apr 2, 2013
- Messages
- 4
Hello All,
I have had a good forum/Google search to try and work this problem out, but had no luck.
It has been too long since I have used VB and I've forgotten how to do basic things.
I'm looking for VBA code to do the following:
Search Column B (after B1) for non-empty cells. If the cells have text, then insert a random number between the range of 10000-90000 in the A column next to the cell. e.g.
Col A Col B
123441 Mon
<blank> <blank>
312312 Mon
<blank> <blank>
<blank> <blank>
<blank> <blank>
213123 Tues
<blank> <blank>
Many Thanks.</blank></blank></blank></blank></blank></blank></blank></blank></blank></blank>
I have had a good forum/Google search to try and work this problem out, but had no luck.
It has been too long since I have used VB and I've forgotten how to do basic things.
I'm looking for VBA code to do the following:
Search Column B (after B1) for non-empty cells. If the cells have text, then insert a random number between the range of 10000-90000 in the A column next to the cell. e.g.
Col A Col B
123441 Mon
<blank> <blank>
312312 Mon
<blank> <blank>
<blank> <blank>
<blank> <blank>
213123 Tues
<blank> <blank>
Many Thanks.</blank></blank></blank></blank></blank></blank></blank></blank></blank></blank>