Hi guys,
I want to execute a do loop on an excel column until I get to either an empty space or the bottom of the worksheet (I'm analyzing very large amounts of data, frequently I have full columns). Is there anyway to do something like
[vba]
' pseudocode
do until cell is eof
if next cell is empty then
exit do
end if
code
select next cell
loop
[/vba]
or do I have to just run
[vba]
'pseudocode
do until counter = 65536
if next cell is empty then
exit do
end if
code
select next cell
loop
[/vba]
I know the second option would work, but the perfectionist in me hates using predefined values and would love to be able to test for the end of the file ;p
Thanks guys!