Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Program Print Settings

Is there any method to set up the print settings for each sheet in a work
book to be the same as one of the sheets? Like a "paste special print
settings"


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Program Print Settings



WorkSheets.Select
Worksheets("Master").Activate
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
activesheet.select

Manually click on the first sheet, hold down the shift key and click on the
last sheet. activate the "master" sheet, then do page setup. Make sure you
ungroup your sheets (right click on the sheet tab and select ungroup.)


--
Regards,
Tom Ogilvy



"Mervyn Thomas" wrote in message
...
Is there any method to set up the print settings for each sheet in a work
book to be the same as one of the sheets? Like a "paste special print
settings"




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Program Print Settings

Thanks Tom - it worked as long as I did NOT do a
"Worksheets("Master").Activate" or the focus would then go off the grouped
sheets
Mervyn

"Tom Ogilvy" wrote in message
...


WorkSheets.Select
Worksheets("Master").Activate
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
activesheet.select

Manually click on the first sheet, hold down the shift key and click on
the
last sheet. activate the "master" sheet, then do page setup. Make sure
you
ungroup your sheets (right click on the sheet tab and select ungroup.)


--
Regards,
Tom Ogilvy



"Mervyn Thomas" wrote in message
...
Is there any method to set up the print settings for each sheet in a work
book to be the same as one of the sheets? Like a "paste special print
settings"






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Program Print Settings

I see that in Excel 2000 - even manually. In xl97 I don't believe that was
the case (your had to right click on the sheet tab and select ungroup if you
had all the sheets selected). I guess you will have to make your master
sheet the first in the tab order for this to work or do the selection using
an array of sheet names.

--
Regards,
Tom Ogilvy

"Mervyn Thomas" wrote in message
...
Thanks Tom - it worked as long as I did NOT do a
"Worksheets("Master").Activate" or the focus would then go off the grouped
sheets
Mervyn

"Tom Ogilvy" wrote in message
...


WorkSheets.Select
Worksheets("Master").Activate
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
activesheet.select

Manually click on the first sheet, hold down the shift key and click on
the
last sheet. activate the "master" sheet, then do page setup. Make sure
you
ungroup your sheets (right click on the sheet tab and select ungroup.)


--
Regards,
Tom Ogilvy



"Mervyn Thomas" wrote in message
...
Is there any method to set up the print settings for each sheet in a

work
book to be the same as one of the sheets? Like a "paste special print
settings"








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Program Print Settings

This seemed to work ok in xl2002 no matter where Master was located.

Dim iCtr As Long
Worksheets("master").Select
For iCtr = 1 To ActiveWorkbook.Worksheets.Count
Worksheets(iCtr).Select False
Next iCtr
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
ActiveSheet.Select



Tom Ogilvy wrote:

I see that in Excel 2000 - even manually. In xl97 I don't believe that was
the case (your had to right click on the sheet tab and select ungroup if you
had all the sheets selected). I guess you will have to make your master
sheet the first in the tab order for this to work or do the selection using
an array of sheet names.

--
Regards,
Tom Ogilvy

"Mervyn Thomas" wrote in message
...
Thanks Tom - it worked as long as I did NOT do a
"Worksheets("Master").Activate" or the focus would then go off the grouped
sheets
Mervyn

"Tom Ogilvy" wrote in message
...


WorkSheets.Select
Worksheets("Master").Activate
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
activesheet.select

Manually click on the first sheet, hold down the shift key and click on
the
last sheet. activate the "master" sheet, then do page setup. Make sure
you
ungroup your sheets (right click on the sheet tab and select ungroup.)


--
Regards,
Tom Ogilvy



"Mervyn Thomas" wrote in message
...
Is there any method to set up the print settings for each sheet in a

work
book to be the same as one of the sheets? Like a "paste special print
settings"







--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Program Print Settings

That is a excellent suggestion - I would see it synonymous to the array of
sheet names, but less work. <g

--
Regards,
Tom Ogilvy

"Dave Peterson" wrote in message
...
This seemed to work ok in xl2002 no matter where Master was located.

Dim iCtr As Long
Worksheets("master").Select
For iCtr = 1 To ActiveWorkbook.Worksheets.Count
Worksheets(iCtr).Select False
Next iCtr
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
ActiveSheet.Select



Tom Ogilvy wrote:

I see that in Excel 2000 - even manually. In xl97 I don't believe that

was
the case (your had to right click on the sheet tab and select ungroup if

you
had all the sheets selected). I guess you will have to make your

master
sheet the first in the tab order for this to work or do the selection

using
an array of sheet names.

--
Regards,
Tom Ogilvy

"Mervyn Thomas" wrote in message
...
Thanks Tom - it worked as long as I did NOT do a
"Worksheets("Master").Activate" or the focus would then go off the

grouped
sheets
Mervyn

"Tom Ogilvy" wrote in message
...


WorkSheets.Select
Worksheets("Master").Activate
SendKeys "{enter}"
Application.Dialogs(xlDialogPageSetup).Show
activesheet.select

Manually click on the first sheet, hold down the shift key and click

on
the
last sheet. activate the "master" sheet, then do page setup. Make

sure
you
ungroup your sheets (right click on the sheet tab and select

ungroup.)


--
Regards,
Tom Ogilvy



"Mervyn Thomas" wrote in message
...
Is there any method to set up the print settings for each sheet in

a
work
book to be the same as one of the sheets? Like a "paste special

print
settings"







--

Dave Peterson



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Program Print Settings

That's what I thought, too!

Tom Ogilvy wrote:

That is a excellent suggestion - I would see it synonymous to the array of
sheet names, but less work. <g

--
Regards,
Tom Ogilvy



<<snipped
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
Print Settings Dale Excel Discussion (Misc queries) 1 February 8th 07 08:16 PM
print settings Jim Excel Worksheet Functions 2 November 29th 06 06:24 PM
How do I save personal menu bar settings when closing program othf1993 Setting up and Configuration of Excel 0 August 19th 06 08:41 AM
Print Default settings Kinjalip Excel Discussion (Misc queries) 6 February 15th 06 05:28 PM
Saving Print Settings? TiffanyPoole Setting up and Configuration of Excel 0 December 27th 04 08:23 PM


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