Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i link the names of tabs in a workbook to a summary page? | Excel Discussion (Misc queries) | |||
*consecutive* page numbers across all tabs in workbook?? | Excel Discussion (Misc queries) | |||
FORMAT EXCEL WORKBOOK (PAGE SETUP) ALL AT ONCE INSTEAD OF BY PAGE | Excel Discussion (Misc queries) | |||
Page set up for a workbook, so each sheet gets the same format ? | Excel Worksheet Functions | |||
Copy page format into an entire workbook | Excel Worksheet Functions |