Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Top left cell in used range

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Top left cell in used range

MsgBox ActiveSheet.UsedRange.Cells(1).Address

is one way.

Chris Gorham wrote:

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


--

Dave Peterson

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Top left cell in used range

One way:

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


In article ,
"Chris Gorham" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Top left cell in used range

ActiveSheet.UsedRange.Cells(1,1).Address

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------

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


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Top left cell in used range

or even

Activesheet.UsedRange.Item(1).Address
or

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

--
Regards,
Tom Ogilvy

"Chris Gorham" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
populating new cell with first populated cell to the left Meanie Excel Worksheet Functions 0 June 20th 08 07:14 PM
How to select a cell to the left of the right aligned cell with th Dima Excel Discussion (Misc queries) 2 May 31st 07 08:19 AM
Fill down formulas in cells to the LEFT of external data range? tsobiech Excel Worksheet Functions 0 September 14th 06 03:57 PM
How to point to (select) a cell to the left from a cell where I enter the = equal sign? Dmitry Excel Discussion (Misc queries) 4 June 30th 06 06:49 AM
Set a 2D arrray data into a range, given the top-left cell Tom Chau Excel Discussion (Misc queries) 2 June 29th 06 06:53 AM


All times are GMT +1. The time now is 10:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"