Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 783
Default Column and row references of range

Michael Allen wrote:

Is is possible to determine the extent column and row references of a
temporarily selected ranges of cells in code, ie top left and bottom right?
Cells within the range may contain blanks.

Thanks
Mike


Set rng = Range("aaa1")
MsgBox rng(1, 1).Address & ":" & rng(rng.Rows.Count, _
rng.Columns.Count).Address

Alan Beban
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Column and row references of range

Is is possible to determine the extent column and row references of a
temporarily selected ranges of cells in code, ie top left and bottom right?
Cells within the range may contain blanks.

Thanks
Mike


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
how to change column references, while filling down another column bclancy12 Excel Discussion (Misc queries) 1 June 7th 06 04:13 PM
How to rename references from range names to cell references Abbas Excel Discussion (Misc queries) 1 May 24th 06 06:18 PM
Subtotal Range of Alphanumeric References girthhart Excel Worksheet Functions 2 January 30th 06 01:47 PM
Narrow the range a Sumif references Steve[_56_] Excel Programming 0 January 14th 04 08:57 PM
Bracketed Range References Bob[_29_] Excel Programming 3 August 8th 03 04:50 PM


All times are GMT +1. The time now is 06:43 AM.

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"