Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Cell Selection

I am trying to add text after the last row that has data. I can get to the
last occupied cell with the command
Selection.End(xlDown).Select

How do I get to the next cell below?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Cell Selection

Using what you have here you would want to add the following line of code...
Selection.End(xlDown).Select
activecell.offset(1,0).select

or you could just modify the current line of code as follows:

Selection.End(xlDown).offset(1,0).Select

HTH



"Chris" wrote:

I am trying to add text after the last row that has data. I can get to the
last occupied cell with the command
Selection.End(xlDown).Select

How do I get to the next cell below?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Cell Selection

Chris

Selection.End(xlDown).Offset(1,0).Select

Regards

Trevor


"Chris" wrote in message
...
I am trying to add text after the last row that has data. I can get to the
last occupied cell with the command
Selection.End(xlDown).Select

How do I get to the next cell below?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Cell Selection

Thanks.

"Jim Thomlinson" wrote:

Using what you have here you would want to add the following line of code...
Selection.End(xlDown).Select
activecell.offset(1,0).select

or you could just modify the current line of code as follows:

Selection.End(xlDown).offset(1,0).Select

HTH



"Chris" wrote:

I am trying to add text after the last row that has data. I can get to the
last occupied cell with the command
Selection.End(xlDown).Select

How do I get to the next cell below?

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
Limiting selection in a cell AND linking that selection to a list Lisa Excel Discussion (Misc queries) 1 July 28th 09 05:00 PM
Force entry into cell, based on validation selection in adjacent cell Richhall[_2_] Excel Worksheet Functions 3 June 18th 09 10:28 AM
Copy Selection - Transpose Selection - Delete Selection Uninvisible Excel Discussion (Misc queries) 2 October 23rd 07 04:18 PM
Lock data in a cell a specific cell based on selection on other ce CrimsonPlague29 Excel Worksheet Functions 0 May 10th 06 11:06 AM
limit cell list selection based on the selection of another list lorraine Excel Worksheet Functions 2 December 14th 04 08:17 PM


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