#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Print macro

I have set up many print macros within a sheet. My first Marco is set to
print cells A1:E20. If someone inserts a row between the range, how can the
print macro automatically update to A1:E21? If that row is inserted, then
all my other macro ranges are incorrect. Thanking you in advance.
--
Dan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Print macro

Maybe you can use this

Range("A1").CurrentRegion.PrintOut



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"dmb4473" wrote in message ...
I have set up many print macros within a sheet. My first Marco is set to
print cells A1:E20. If someone inserts a row between the range, how can the
print macro automatically update to A1:E21? If that row is inserted, then
all my other macro ranges are incorrect. Thanking you in advance.
--
Dan

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
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
need a print macro to print only a certain number of pages Tonso Excel Discussion (Misc queries) 2 July 26th 06 06:03 PM
Pivot Table macro to set print area and print details of drill down data Steve Haskins Excel Discussion (Misc queries) 2 December 28th 05 04:59 PM
Macro to open print window and set to print entire workbook retseort Excel Discussion (Misc queries) 1 October 27th 05 11:00 PM
Create a print macro that would automatically select print area? wastedwings Excel Worksheet Functions 7 August 22nd 05 10:36 PM


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