Top left cell in used range

  • Thread starter Thread starter Chris Gorham
  • Start date Start date
C

Chris Gorham

Hi,

can somebody tell me how to find the address of the top
left cell for the used range on a worksheet..??


Sorry, I know this is trivial...

Chris
 
One way:

Dim sAddress As String
sAddress = ActiveSheet.UsedRange.Cells(1).Address
 
or even

Activesheet.UsedRange.Item(1).Address
or

ActiveSheet.UsedRange.Item(1,1).Address
 
Back
Top