123FakeSt
IS-IT--Management
- Aug 4, 2003
- 182
What's the easiest way to set a range to variable rows?
Rather than:
Set xlRng = Rows("1:4")
I need it to be dynamic:
iStartRow = 1
iEndRow = 4
Set xlRng = Rows(iStartRow:iEndRow)
Thanks!
The early bird gets the worm, but the second mouse gets the cheese.
Rather than:
Set xlRng = Rows("1:4")
I need it to be dynamic:
iStartRow = 1
iEndRow = 4
Set xlRng = Rows(iStartRow:iEndRow)
Thanks!
The early bird gets the worm, but the second mouse gets the cheese.