another rachel
Board Regular
- Joined
- May 27, 2002
- Messages
- 80
Hello
I am trying to see if the macro I have started to write is working.
However, forget how to use the msgbax command....
I have written the following and would like the macro to return the cell reference of the first empty cell.
I know this is easy as I have done it before but can't remember how
Any assistance, as akways, is much appreciated
Regads
Rachel
I am trying to see if the macro I have started to write is working.
However, forget how to use the msgbax command....
I have written the following and would like the macro to return the cell reference of the first empty cell.
I know this is easy as I have done it before but can't remember how
Any assistance, as akways, is much appreciated
Regads
Rachel
Code:
Dim lastnumber As Range
Dim firstemptycell As Range
Set lastnumber = Range("A65536").End(xlUp)
Set firstemptycell = lastnumber.Offset(rowoffset:=1, columnoffset:=0)