Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Printing a cell range with a macro

I am trying to print a cell range with a macro. I have 6 different sections
that need to be printed but not at the same time and not all with one button.
Here is the info.

Page that macro will be on is called "Input"
Page with the information needing to be printed is called "Reports"
the cell ranges are as follows
A4:AZ20
BI4:DH20
DQ4:FP20
FY4:HX20
A26:AZ42
BI26:BX41

I would like each report to print centered vertical and horizontal, and
shrink to fit page. There is also a header that needs to print with each
section. Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Printing a cell range with a macro

Record a macro to set the print area to one of the print regions, do all the
formatting, and print it. You will then have code that you can amend for all
regions.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Agasnine" wrote in message
...
I am trying to print a cell range with a macro. I have 6 different

sections
that need to be printed but not at the same time and not all with one

button.
Here is the info.

Page that macro will be on is called "Input"
Page with the information needing to be printed is called "Reports"
the cell ranges are as follows
A4:AZ20
BI4:DH20
DQ4:FP20
FY4:HX20
A26:AZ42
BI26:BX41

I would like each report to print centered vertical and horizontal, and
shrink to fit page. There is also a header that needs to print with each
section. Thanks in advance.



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 to print a cell range Tamsyn Excel Discussion (Misc queries) 2 November 24th 08 04:48 PM
Macro to add text in Cell (in a range of Row) herve[_6_] Excel Programming 2 October 7th 05 10:44 AM
Macro - Cell reference - (Range) Alex Martinez Excel Programming 1 October 6th 05 08:17 AM
Macro run if and cell in range is selected in VBA Celtic_Avenger[_38_] Excel Programming 1 September 18th 04 04:51 PM
Macro run if and cell in range is selected in VBA Celtic_Avenger[_37_] Excel Programming 1 September 18th 04 03:28 PM


All times are GMT +1. The time now is 03:41 AM.

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"