Find Last Blank Row Find Last Blank Column

nehpets12

Active Member
Joined
Feb 22, 2002
Messages
452
To find the nect blank cell in column A I use the code

Code:
Sub Find_Next_Row()
i = Range("A65536").End(xlUp).Row
Range("A" & i).Offset(1, 0).Select
End Sub

Is there code like this I can use to find the next blank column in row 1
 

Some videos you may like

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
It's not generally necessary to select cells in order to work with them, so you may not need to Select them at all, but to answer your question, something like this:

Code:
Range("IV1").End(xlToLeft).Offset(, 1).Select
 

Watch MrExcel Video

Forum statistics

Threads
1,119,101
Messages
5,576,132
Members
412,699
Latest member
Dmetcalf2021
Top