Hi,
I'm trying to release some variables at the end of a loop
The line...
Set CurrentRow = Nothing
causes...
Compile Error - Object Required
Excel 2010. I have tried CurrentRow defined as Long, String and others.
I have tried the DIM statement outside of the loop or inside - makes not difference
This is happening for ALL of my 'Set xxx = Nothing' statements - not specific to this variable.
Any suggestions ?
I'm trying to release some variables at the end of a loop
The line...
Set CurrentRow = Nothing
causes...
Compile Error - Object Required
Excel 2010. I have tried CurrentRow defined as Long, String and others.
I have tried the DIM statement outside of the loop or inside - makes not difference
This is happening for ALL of my 'Set xxx = Nothing' statements - not specific to this variable.
Any suggestions ?