Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 367
Default Selecting A Range

I'm fairly new to this, so please bear with me... Assume I have a worksheet
with a range of cells (let's say "A2:G10"). What I would like to do, is
write some code that will look at the range of cells and then will select the
cell in column A which is the first open cell (i.e. the first open row).
Note that the range may be dynamic, and will not always be A2:G10, although
the beginning point will always be A2. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Selecting A Range

Jason, try this
Range("A65536").End(xlUp).Offset(1, 0).Select
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **


"Jason" wrote in message
...
I'm fairly new to this, so please bear with me... Assume I have a

worksheet
with a range of cells (let's say "A2:G10"). What I would like to do, is
write some code that will look at the range of cells and then will select

the
cell in column A which is the first open cell (i.e. the first open row).
Note that the range may be dynamic, and will not always be A2:G10,

although
the beginning point will always be A2. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Selecting A Range

hi,
Range("A2").Select
Selection.CurrentRegion.Select
note: useing this method, there can be no data in cells
adjacent to your range of cells.

-----Original Message-----
I'm fairly new to this, so please bear with me... Assume

I have a worksheet
with a range of cells (let's say "A2:G10"). What I

would like to do, is
write some code that will look at the range of cells and

then will select the
cell in column A which is the first open cell (i.e. the

first open row).
Note that the range may be dynamic, and will not always

be A2:G10, although
the beginning point will always be A2. Thanks.
.

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
Please help with selecting a range keri Excel Discussion (Misc queries) 7 December 12th 06 08:56 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
Selecting a Range inside a range hcova Excel Programming 0 July 13th 04 03:26 PM
Help with selecting a range... Ron de Bruin Excel Programming 0 July 22nd 03 03:37 PM


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