Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Format Page set up for all tabs in workbook

Hello,
I have a macro that runs great thanks to you all. It creates many new tabs
within the workbook. The question is I have a tab named "Outside" in the
workbook it Looks and prints great, how would I format all (45) tabs in my
workbook to look and print in the same format?

any code?

Any help,

Lime
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Format Page set up for all tabs in workbook

Record a macro using excel's recorder with all the steps you would take
to format the page. Then do something like this:

(air code)

Sub Foo()
Dim wks as Worksheet

For Each wks in Application.Workbooks("MyWorkbook").Sheets
With wks
'Paste code from macro here (with mods to refer to wks, not
activeworksheet)
End With
Next

Set wks = Nothing

End Sub

HTH,
Johnny

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Format Page set up for all tabs in workbook

hello,
That did not work. I just want to set the same print formatt for all sheets.

"Johnny" wrote:

Record a macro using excel's recorder with all the steps you would take
to format the page. Then do something like this:

(air code)

Sub Foo()
Dim wks as Worksheet

For Each wks in Application.Workbooks("MyWorkbook").Sheets
With wks
'Paste code from macro here (with mods to refer to wks, not
activeworksheet)
End With
Next

Set wks = Nothing

End Sub

HTH,
Johnny


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Format Page set up for all tabs in workbook

A quick way to do this without code is to right click on the tab of the
sheet with the correct print format, click Select All Sheets, and then
go to File - Page Setup and click OK. This will copy the print
format (except repeating title lines) to all other pages in the group.
Then right click on any tab in the group and click ungroup.

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
how do i link the names of tabs in a workbook to a summary page? Andrea O Excel Discussion (Misc queries) 1 February 19th 10 05:53 PM
*consecutive* page numbers across all tabs in workbook?? Lenore Excel Discussion (Misc queries) 1 July 29th 09 11:32 AM
FORMAT EXCEL WORKBOOK (PAGE SETUP) ALL AT ONCE INSTEAD OF BY PAGE fred Excel Discussion (Misc queries) 1 August 11th 08 04:54 PM
Page set up for a workbook, so each sheet gets the same format ? K_hotmail Excel Worksheet Functions 3 June 12th 06 10:18 AM
Copy page format into an entire workbook mdeanda Excel Worksheet Functions 2 August 3rd 05 08:12 PM


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