LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default Upperbound of Selected Range

Thanks Norman - I had been trying to use UBOUND() and LBOUND() but to no
avail.

Ta

Andi


"Norman Jones" wrote in message
...
Hi Andi,

The first row cis returned by:

Selection.Row

The last row is returned by:

Selection.Row + Selection.Rows.Count - 1


---
Regards,
Norman



"Andibevan" wrote in message
...
Thanks - How would I then assignt the lowerbound of the selected range to
a
value?

"Norman Jones" wrote in message
...
Hi Andi,

Try:

Up_Bound = Selection.Row


---
Regards,
Norman



"Andibevan" wrote in
message
...
Hi All,

An easy one - how do I assign the upper row number of the selected range
to
the value Up_Bound?

Thanks

Andi










 
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
Setting var to selected Range El Bee Excel Discussion (Misc queries) 2 January 18th 08 09:31 PM
Appearance of a selected range d_mack Excel Discussion (Misc queries) 10 October 5th 07 12:31 AM
Searching for zero value within a selected range TR[_2_] Excel Programming 2 July 6th 04 03:39 PM
Copying a selected used range michael Excel Programming 1 September 24th 03 02:49 PM
Box around selected range Tom Ogilvy Excel Programming 1 September 7th 03 04:42 PM


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

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"