Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copy all pagesetup settings?

Hopefully a question with a simple answer (that's how they al
start)...

In VBA is it possible to copy all of the pagesetup setting
(printareas, margins, headers footers... everything) from a sheet i
one workbook to a sheet in another workbook

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default copy all pagesetup settings?

No simple answer

Read this answer from Dave Peterson
http://tinyurl.com/3y2uc

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"cornishbloke " wrote in message ...
Hopefully a question with a simple answer (that's how they all
start)...

In VBA is it possible to copy all of the pagesetup settings
(printareas, margins, headers footers... everything) from a sheet in
one workbook to a sheet in another workbook?


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default copy all pagesetup settings?

Very simple answer: You need to copy the settings property by
property.

Alternative: copy the entire sheet - page setup settings go along
for the ride.

OTOH, accessing the PageSetup object property by property can be
glacially slow, so you might want to take a look at

http://www.mcgimpsey.com/excel/pagesetup.html

which has a macro based on a routine by John Green (which you can
see he

http://google.com/groups?selm=VA.000...28c7e5%40mara9

In article ,
cornishbloke wrote:

Hopefully a question with a simple answer (that's how they all
start)...

In VBA is it possible to copy all of the pagesetup settings
(printareas, margins, headers footers... everything) from a sheet in
one workbook to a sheet in another workbook?

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
Can I copy my protection settings from 1 workbook to another? Bunnski Excel Worksheet Functions 1 September 11th 08 12:55 AM
Is there a way to 'copy' my XL settings to another PC? Ingeniero1 Excel Discussion (Misc queries) 4 April 30th 06 07:03 PM
How do I copy the print settings from one worksheet to another? mackkaren Excel Discussion (Misc queries) 2 December 16th 05 04:52 PM
How to copy toolbar settings from Excel 2003? VJ Excel Discussion (Misc queries) 5 April 8th 05 09:53 AM
How can I copy page setup settings to other worksheets? Thanks Jeff Graham Excel Discussion (Misc queries) 1 December 30th 04 12:10 AM


All times are GMT +1. The time now is 10:32 AM.

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"