Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Selection By Shift & Arrow In VBA

What code enlarge the current selection as by only Shift + Arrow. In other
words, I want the code to only select the currently active cells plus the
ones below, like Shift+DownArrow, instead of entering a specific range?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Selection By Shift & Arrow In VBA

Record the macro to do what you want and you will have the syntax.
--
Regards,

OssieMac


"FARAZ QURESHI" wrote:

What code enlarge the current selection as by only Shift + Arrow. In other
words, I want the code to only select the currently active cells plus the
ones below, like Shift+DownArrow, instead of entering a specific range?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Selection By Shift & Arrow In VBA

Activecell.Resize(2,4).Select

will extend the selection from active cell to two rows down and 4 columns to
right
--
If this post helps click Yes
---------------
Jacob Skaria


"FARAZ QURESHI" wrote:

What code enlarge the current selection as by only Shift + Arrow. In other
words, I want the code to only select the currently active cells plus the
ones below, like Shift+DownArrow, instead of entering a specific range?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Selection By Shift & Arrow In VBA

Recording doesn't help my dear. It returns the cell references and not the
actual step.

"OssieMac" wrote:

Record the macro to do what you want and you will have the syntax.
--
Regards,

OssieMac


"FARAZ QURESHI" wrote:

What code enlarge the current selection as by only Shift + Arrow. In other
words, I want the code to only select the currently active cells plus the
ones below, like Shift+DownArrow, instead of entering a specific range?

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
why dont shift+arrow or ctrl+arrow work in 2007 Naguib Excel Discussion (Misc queries) 1 July 24th 07 04:40 PM
Shift and Arrow Key Code strung New Users to Excel 4 October 28th 05 02:07 PM
CTRL+Shift+Arrow Doesn't Work Elon Excel Discussion (Misc queries) 2 May 26th 05 01:12 PM
Shift+Arrow does not expand selection No_RZN Excel Discussion (Misc queries) 2 May 25th 05 07:49 AM
Ctrl+Shift+arrow briansetondavis Excel Worksheet Functions 1 February 17th 05 02:59 PM


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