Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default selecting multiple rows within a Macro

Bob,

Thanks....worked like a charm. For some reason I could
not get the macro recorder to give me anything but
absolute cell references.

Thanks for your help !!
Eric
-----Original Message-----
Eric,

Range(ActiveCell, ActiveCell.SpecialCells

(xlLastCell)).Select

basically created withe the macro recorder.

--

HTH

Bob Phillips

"Eric Dreshfield" wrote in message
...
How can I write the code to select multiple rows in a
Macro ? I want the macro to mimic the following
keystrokes:

Ctrl-Shift-End

to select a range of cells from where the cursor

currently
resides to the end of where data exists.

I can't seem to figure out how to accomplish that.

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
Excel 2007 Selecting Multiple Cells, Rows, etc. Val Steed Excel Discussion (Misc queries) 2 August 24th 09 11:24 PM
selecting multiple objects with macro Memphus01 Excel Discussion (Misc queries) 3 December 2nd 08 07:30 PM
How can I stop Excell selecting multiple rows? Chris L 99 Excel Discussion (Misc queries) 5 October 15th 08 06:50 PM
Selecting multiple rows Soheyl Excel Discussion (Misc queries) 1 June 12th 07 01:41 AM
selecting multiple rows within a Macro Jean-Paul Viel Excel Programming 0 August 29th 03 09:04 PM


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