Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy WorkSHeet To New Book With Print Page Settings ?
Hi
Apologies again. I am using VBA to copy selected worksheets to a newly created workbook. cwkb is current workbook, nwkb is new book cwkb.Worksheets(1).Copy After:=nwkb.Sheets(nwkb.Sheets.Count) This works great for copying content, but one of the pages has been modified by the VBA to include page break codes, and printer settings (ie landscape, zoom 70% etc). Is it possible to copy this across aswell ?? Many thanks Mike |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy WorkSHeet To New Book With Print Page Settings ?
When I copy a worksheet into another workbook, the Page Setup parameters,
page breaks, etc. are carried over. Does this not happen for you? -- Vasant "Mike Iacovou" wrote in message ... Hi Apologies again. I am using VBA to copy selected worksheets to a newly created workbook. cwkb is current workbook, nwkb is new book cwkb.Worksheets(1).Copy After:=nwkb.Sheets(nwkb.Sheets.Count) This works great for copying content, but one of the pages has been modified by the VBA to include page break codes, and printer settings (ie landscape, zoom 70% etc). Is it possible to copy this across aswell ?? Many thanks Mike |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy WorkSHeet To New Book With Print Page Settings ?
When i use the copy function listed previously, it doesn't copy these changes. The print settings are set in VBA in the originating workbook. If there is a copy command in VBA that will preserve these settings, that would be kinda helpful.
TIA "Vasant Nanavati" wrote: When I copy a worksheet into another workbook, the Page Setup parameters, page breaks, etc. are carried over. Does this not happen for you? -- Vasant "Mike Iacovou" wrote in message ... Hi Apologies again. I am using VBA to copy selected worksheets to a newly created workbook. cwkb is current workbook, nwkb is new book cwkb.Worksheets(1).Copy After:=nwkb.Sheets(nwkb.Sheets.Count) This works great for copying content, but one of the pages has been modified by the VBA to include page break codes, and printer settings (ie landscape, zoom 70% etc). Is it possible to copy this across aswell ?? Many thanks Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy & paste worksheet with print settings into new worksheet | Excel Discussion (Misc queries) | |||
How do I print multiple worksheets of a work book onto one page? | Excel Discussion (Misc queries) | |||
How do I copy the print settings from one worksheet to another? | Excel Discussion (Misc queries) | |||
Can I copy a worksheet with its page setup and print formats? | Excel Discussion (Misc queries) | |||
How can I copy page setup settings to other worksheets? Thanks | Excel Discussion (Misc queries) |