Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print area
Hi,
I have a macro that every time copy the data from one sheet to a new file. But whenever i wanted to print, I gt some parts of the data not printed out for the new file. How do i code in VBA to print all? Many Thanks. regards, Tom |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print area
Range("A1").Select ActiveSheet.PageSetup.PrintArea = "" Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select ActiveSheet.PageSetup.PrintArea = "$A$1:$I$14" 'your code<<<<<<<<<<<<<<<< ActiveSheet.PageSetup.PrintArea = "" N10 "Tom" wrote in message ... Hi, I have a macro that every time copy the data from one sheet to a new file. But whenever i wanted to print, I gt some parts of the data not printed out for the new file. How do i code in VBA to print all? Many Thanks. regards, Tom |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
set area in excel not giving me option to set print area? | Excel Discussion (Misc queries) | |||
File, print area, clear area, is not working | New Users to Excel | |||
print area across the freeze panes area | Excel Worksheet Functions | |||
Pivot Table macro to set print area and print details of drill down data | Excel Discussion (Misc queries) | |||
How do you turn off a print area for a page? (no print area) | Excel Discussion (Misc queries) |