Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Luc Luc is offline
external usenet poster
 
Posts: 23
Default How to select the bottom right cel in a 'CurrentRegion.selecion'

Within a 'CurrentRegion.Select' i want to select the bottom right cell in
this selection.
What code should i use.

Thanxxx

Luc




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
340 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to select the bottom right cel in a 'CurrentRegion.selecion'

Dim rng as Range
set rng = Range("B9").currentRegion
rng(rng.count).Select

or
Dim rng as Range
set rng = Range("B9").currentRegion
rng.Select
rng(rng.count).Activate

if you want it to the the active cell in multicell selection.


--
Regards,
Tom Ogilvy


"Luc" wrote in message
...
Within a 'CurrentRegion.Select' i want to select the bottom right cell in
this selection.
What code should i use.

Thanxxx

Luc




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
340 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to select the bottom right cel in a 'CurrentRegion.selecion'

with activesheet.currentregion
.cells(.cells.count).select
end with



Luc wrote:

Within a 'CurrentRegion.Select' i want to select the bottom right cell in
this selection.
What code should i use.

Thanxxx

Luc

--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
340 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to select the bottom right cel in a 'CurrentRegion.selecion'

with activesheet.range("a1").currentregion
.cells(.cells.count).select
end with

Dave Peterson wrote:

with activesheet.currentregion
.cells(.cells.count).select
end with

Luc wrote:

Within a 'CurrentRegion.Select' i want to select the bottom right cell in
this selection.
What code should i use.

Thanxxx

Luc

--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
340 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


--

Dave Peterson


--

Dave Peterson
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 define and select the last (bottom) number in a column? BrendaN_at_Welke_Customs Excel Worksheet Functions 24 November 5th 07 05:06 AM
Changing the little tab at the bottom where you select your worksh BigDaddyCool Excel Discussion (Misc queries) 4 April 15th 07 05:00 AM
Select first row of currentregion vba Excel Programming 4 July 19th 06 01:16 PM
Select a range in a column in currentregion ward376 Excel Programming 6 March 14th 06 02:25 PM
CurrentRegion less one Row GregR Excel Programming 8 November 7th 05 05:16 PM


All times are GMT +1. The time now is 11:01 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"