LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selecting a Range


I want to write up a macro to set print area of my sheets in a file
Here is the process I use:

I select B11

I do shift + down arrow

I continue holding shift and go to Column J

I set up this range to be print-area range.

when I record the macro, it gives me absolute range for print area an
as such I can't use this macro for other sheets where the print are
could be different.

How do you write "Shift + up arrow" in VBA.

Sorry for the stupid question but I am just a newbie in programming an
need your help.

Thanks,
Kulbir Sing

--
KulbirSing
-----------------------------------------------------------------------
KulbirSingh's Profile: http://www.excelforum.com/member.php...fo&userid=1562
View this thread: http://www.excelforum.com/showthread.php?threadid=27277

 
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
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
Selecting a range PCOR Excel Programming 4 December 27th 03 08:05 PM
selecting range Bob Phillips[_5_] Excel Programming 0 September 5th 03 05:41 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 03:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"