#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Master

Hi,

I have an about 50 cost center reports where the formatting are all the
same, numer of rows, columns etc. What I would like to do is to have a
"master" file where I can make formatting changes which then applie all my
cost center reports when updated.

I'd appreciate any help in how to create this type of "master" formatting.

--
Niklas
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Master

Do you have 50 spreadsheets (separate files) or 50 sheets in one workbook?

Basically you need to have a piece of code which selects the source sheet,
copies it
selects the other sheet and performs Paste Special|Formats

like the one below;
(this will copy the formatting on the current sheet to Sheet3)
Sub Macro1()
Cells.Select
Selection.Copy
Sheets("Sheet3").Select
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub
"Niklas" wrote:

Hi,

I have an about 50 cost center reports where the formatting are all the
same, numer of rows, columns etc. What I would like to do is to have a
"master" file where I can make formatting changes which then applie all my
cost center reports when updated.

I'd appreciate any help in how to create this type of "master" formatting.

--
Niklas

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Master

Hi,

I have 50 separate files that need to be updated based on the format of the
master. Maybe a macro that opens each file and copy/past the format and then
closes file?

--
Niklas


"Sheeloo" wrote:

Do you have 50 spreadsheets (separate files) or 50 sheets in one workbook?

Basically you need to have a piece of code which selects the source sheet,
copies it
selects the other sheet and performs Paste Special|Formats

like the one below;
(this will copy the formatting on the current sheet to Sheet3)
Sub Macro1()
Cells.Select
Selection.Copy
Sheets("Sheet3").Select
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub
"Niklas" wrote:

Hi,

I have an about 50 cost center reports where the formatting are all the
same, numer of rows, columns etc. What I would like to do is to have a
"master" file where I can make formatting changes which then applie all my
cost center reports when updated.

I'd appreciate any help in how to create this type of "master" formatting.

--
Niklas

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
Master List Kevin Excel Discussion (Misc queries) 6 August 7th 07 05:20 PM
Master & Sub Worksheets? idmnstr New Users to Excel 10 March 19th 07 10:11 PM
master macor Neil Excel Discussion (Misc queries) 1 March 2nd 07 04:39 PM
Excel-Master Cooperuk Excel Worksheet Functions 1 September 18th 05 04:19 PM
FORMULA USING MASTER QTY todd Excel Discussion (Misc queries) 1 August 10th 05 05:17 PM


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