I'm trying to record a macro and select the first empty cell at the bottom of a range of numbers, eg. A1,A2,A3 (populated), A3 (empty).
I think it's ctrl+ or alt+ (something). Whatever I'm trying isn't working...
will take you to the first empty cell after the last entry in column aCode:Sub findbottom() Range("A65536").End(xlUp).Offset(1, 0).Select End Sub
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
OK, thanks. But I was hoping to use the keyboard rather than write code at this stage...
just record the macro but manually select first empty cell at end of column when everything is done replace the line that says say A1234 .select with Range("A65536").End(xlUp).Offset(1, 0).SelectI'm trying to record a macro
but there isnt a direct short cut key ctrl +down arrow takes you to the last used cell.
Last edited by martindwilson; 07-05-2009 at 06:48 AM.
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Sorry, I didn't make this clear. I was just hoping for a keyboard selection irrespective of whether I'm recording a macro or not, ie. I'd like to see the first empty cell after my range selected on screen, using crtl+ or alt+, if this is possible.
Sorry, Ignore previous message - if there isn't a shortcut key, too bad...
ctrl +down arrow takes you to the last used cell. how close do you want to get.?
use down arrow again
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
This makes perfect sense now. I had mistakenly thought there was a function for this in Excel, but I can work my way around this without a problem.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks