Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
a a is offline
external usenet poster
 
Posts: 51
Default Used Range Question

Hi,

I know that this is probably very simple, but I just can't seem to
figure it out.

Would somebody please tell me how I can find out the address of the
first cell in a used range? It can either be in the "watch" window or
through the use of the message box. I'm having a problem with some code
and having this information would help me immensely.

Thanks much in advance,
Anita


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Used Range Question

Anita,

ActiveSheet.UsedRange(1,1).Address

will return the address of the first cell in the UsedRange.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"a" wrote in message
k.net...
Hi,

I know that this is probably very simple, but I just can't seem

to
figure it out.

Would somebody please tell me how I can find out the address of

the
first cell in a used range? It can either be in the "watch"

window or
through the use of the message box. I'm having a problem with

some code
and having this information would help me immensely.

Thanks much in advance,
Anita




  #3   Report Post  
Posted to microsoft.public.excel.programming
a a is offline
external usenet poster
 
Posts: 51
Default Used Range Question

Chip,

Thanks, once again!

Anita

Chip Pearson wrote:

Anita,

ActiveSheet.UsedRange(1,1).Address

will return the address of the first cell in the UsedRange.



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
Range Question Peter[_8_] Excel Discussion (Misc queries) 3 December 11th 07 02:37 AM
range question Simon Sunke Excel Programming 0 February 23rd 04 02:39 PM
set range question David Goodall Excel Programming 1 February 23rd 04 02:12 AM
If Range.Name question Otto Moehrbach[_5_] Excel Programming 8 November 30th 03 11:05 PM
Range.Formula and Range question using Excel Automation [email protected] Excel Programming 0 September 19th 03 04:53 AM


All times are GMT +1. The time now is 06:36 PM.

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

About Us

"It's about Microsoft Excel"