Boomdiddygop
New Member
- Joined
- Oct 3, 2013
- Messages
- 5
Hi, I'm trying to write a code that finds the next empty cell in Column A and then sets that as a range.
Once that is complete, I want to create a For Each loop for that range.
So far what I have is:
Range("A1").Select
ActiveCell.End(xlDown).Select
For Each c In [A2:ActiveCell.Address]
Does actions
Next
I've tried a few ways of labeling the range, but I can't seem to make it run through. I keep getting a type mismatch error.
Any advice would be much appreciated.
Once that is complete, I want to create a For Each loop for that range.
So far what I have is:
Range("A1").Select
ActiveCell.End(xlDown).Select
For Each c In [A2:ActiveCell.Address]
Does actions
Next
I've tried a few ways of labeling the range, but I can't seem to make it run through. I keep getting a type mismatch error.
Any advice would be much appreciated.