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

Please help me. I need to select a range of cells in a row:
For example:from a5 to j5.
I want to have "A5" as "active.cell" and write a macro to select from the
"Active.Cell" to the desired range end.

Is it possible to use "Offset" or other type of commands.

Please if anyone can help.

Kind regards,
--
Carlos
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Selection

Range("A5", Range("A5").End(xltoRight)).Select

Try that

HTH

Die_Another_Day
CARLOS BAPTISTA wrote:
Please help me. I need to select a range of cells in a row:
For example:from a5 to j5.
I want to have "A5" as "active.cell" and write a macro to select from the
"Active.Cell" to the desired range end.

Is it possible to use "Offset" or other type of commands.

Please if anyone can help.

Kind regards,
--
Carlos


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
Copy Selection - Transpose Selection - Delete Selection Uninvisible Excel Discussion (Misc queries) 2 October 23rd 07 04:18 PM
Storing selection & using the saved selection adress later Ozgur Pars[_2_] Excel Programming 5 April 18th 06 12:01 PM
Object Type of a selection... counting rows in a selection Acid-Sky[_2_] Excel Programming 3 August 23rd 05 09:53 AM
Excel VBA - Range(Selection, Selection.End(xlDown)).Name issue. jonH Excel Programming 3 June 7th 04 09:13 PM


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