PC Review


Reply
Thread Tools Rate Thread

how do I apply formatting from one worksheet to a whole workbook?

 
 
amergerm35
Guest
Posts: n/a
 
      27th Aug 2008
I have an Excel workbook that is composed of the results from Access queries.
IE. 1 query is 1 worksheet. So far I have 31 in the workbook and will likely
have 50-75 before I'm finished.
How can I populate the formatting from the 1st sheet (header naming
convention, size, layout, etc.) to each one that is there now and as I add
more? Each added sheet defaults back to the Excel 2000-2003 format.

Thanks
 
Reply With Quote
 
 
 
 
Spiky
Guest
Posts: n/a
 
      27th Aug 2008
On Aug 27, 2:46 pm, amergerm35 <amerger...@discussions.microsoft.com>
wrote:
> I have an Excel workbook that is composed of the results from Access queries.
> IE. 1 query is 1 worksheet. So far I have 31 in the workbook and will likely
> have 50-75 before I'm finished.
> How can I populate the formatting from the 1st sheet (header naming
> convention, size, layout, etc.) to each one that is there now and as I add
> more? Each added sheet defaults back to the Excel 2000-2003 format.
>
> Thanks


Setup a template so each sheet will already be preformatted. You can
find instructions in Help under Templates. Would be an .xlt file.

To fix existing files, Select All, copy, goto all the other sheets you
want (Shift- or CTRL-click the tabs), goto cell A1, Paste
Special:Formats. You can do the same thing with a normal Paste if you
have to copy your actual column headers, assuming the data is always
in the exact same place.

You could also copy sheets (then delete the data) instead of using the
New:Sheet command. I generally Drag-n-Drop to do this, while holding
down CTRL. Unless the query process creates the sheet, then nevermind.
 
Reply With Quote
 
amergerm35
Guest
Posts: n/a
 
      27th Aug 2008
I don't know about that. When Access gives me the output from my query (which
all involve different data widths and colums, I then click on >Tools>Office
Links>Analyze with microsoft Excel. It opens a. Excel spreadsheet and I copy
the worksheet to the existing workbook, moving it to the back.
For every sheet I have to go in and change the formatting in about 5-6 areas.

Does this help clarify? I'm kind of new to using the output from one to
generate data in another application.

Amergerm

"Spiky" wrote:

> On Aug 27, 2:46 pm, amergerm35 <amerger...@discussions.microsoft.com>
> wrote:
> > I have an Excel workbook that is composed of the results from Access queries.
> > IE. 1 query is 1 worksheet. So far I have 31 in the workbook and will likely
> > have 50-75 before I'm finished.
> > How can I populate the formatting from the 1st sheet (header naming
> > convention, size, layout, etc.) to each one that is there now and as I add
> > more? Each added sheet defaults back to the Excel 2000-2003 format.
> >
> > Thanks

>
> Setup a template so each sheet will already be preformatted. You can
> find instructions in Help under Templates. Would be an .xlt file.
>
> To fix existing files, Select All, copy, goto all the other sheets you
> want (Shift- or CTRL-click the tabs), goto cell A1, Paste
> Special:Formats. You can do the same thing with a normal Paste if you
> have to copy your actual column headers, assuming the data is always
> in the exact same place.
>
> You could also copy sheets (then delete the data) instead of using the
> New:Sheet command. I generally Drag-n-Drop to do this, while holding
> down CTRL. Unless the query process creates the sheet, then nevermind.
>

 
Reply With Quote
 
Spiky
Guest
Posts: n/a
 
      28th Aug 2008
I would think creating a normal template should help this, because
that works for new files. Unless the query makes its own formatting,
changing whatever Excel's normal format is, then there probably isn't
much you can do ahead of time.

Since you are copying the data in, you could try Paste Special and
select plain Text from the dialog box. It isn't the same as the normal
Excel Paste Special when copying from a different program, but it is
there.
 
Reply With Quote
 
Valerie
Guest
Posts: n/a
 
      28th Aug 2008
Copy one of your formatted sheets to a new book. File/Save As "Sheet.xlt"
(file type template). This automatically opens your template folder, but you
need to locate your XLSTART folder and put this file in it. When you create a
new sheet, it should pull from this template.

"Spiky" wrote:

> On Aug 27, 2:46 pm, amergerm35 <amerger...@discussions.microsoft.com>
> wrote:
> > I have an Excel workbook that is composed of the results from Access queries.
> > IE. 1 query is 1 worksheet. So far I have 31 in the workbook and will likely
> > have 50-75 before I'm finished.
> > How can I populate the formatting from the 1st sheet (header naming
> > convention, size, layout, etc.) to each one that is there now and as I add
> > more? Each added sheet defaults back to the Excel 2000-2003 format.
> >
> > Thanks

>
> Setup a template so each sheet will already be preformatted. You can
> find instructions in Help under Templates. Would be an .xlt file.
>
> To fix existing files, Select All, copy, goto all the other sheets you
> want (Shift- or CTRL-click the tabs), goto cell A1, Paste
> Special:Formats. You can do the same thing with a normal Paste if you
> have to copy your actual column headers, assuming the data is always
> in the exact same place.
>
> You could also copy sheets (then delete the data) instead of using the
> New:Sheet command. I generally Drag-n-Drop to do this, while holding
> down CTRL. Unless the query process creates the sheet, then nevermind.
>

 
Reply With Quote
 
amergerm35
Guest
Posts: n/a
 
      28th Aug 2008
I tried both of these and no success. I'm going to try writing some VB code
for Access and try to force it that way.

Thanks,
Bill

"Valerie" wrote:

> Copy one of your formatted sheets to a new book. File/Save As "Sheet.xlt"
> (file type template). This automatically opens your template folder, but you
> need to locate your XLSTART folder and put this file in it. When you create a
> new sheet, it should pull from this template.
>
> "Spiky" wrote:
>
> > On Aug 27, 2:46 pm, amergerm35 <amerger...@discussions.microsoft.com>
> > wrote:
> > > I have an Excel workbook that is composed of the results from Access queries.
> > > IE. 1 query is 1 worksheet. So far I have 31 in the workbook and will likely
> > > have 50-75 before I'm finished.
> > > How can I populate the formatting from the 1st sheet (header naming
> > > convention, size, layout, etc.) to each one that is there now and as I add
> > > more? Each added sheet defaults back to the Excel 2000-2003 format.
> > >
> > > Thanks

> >
> > Setup a template so each sheet will already be preformatted. You can
> > find instructions in Help under Templates. Would be an .xlt file.
> >
> > To fix existing files, Select All, copy, goto all the other sheets you
> > want (Shift- or CTRL-click the tabs), goto cell A1, Paste
> > Special:Formats. You can do the same thing with a normal Paste if you
> > have to copy your actual column headers, assuming the data is always
> > in the exact same place.
> >
> > You could also copy sheets (then delete the data) instead of using the
> > New:Sheet command. I generally Drag-n-Drop to do this, while holding
> > down CTRL. Unless the query process creates the sheet, then nevermind.
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying worksheet formatting to all sheets in workbook Saucer Man Microsoft Excel Programming 5 9th Jan 2009 04:18 AM
Having the same formatting of each worksheet in any given workbook G. Dagger Microsoft Excel Misc 2 7th Jan 2008 07:55 PM
How do I apply a template to one worksheet in existing workbook? =?Utf-8?B?R3dlbg==?= Microsoft Excel Misc 0 19th Jun 2007 02:55 PM
problem with formatting text in every worksheet same workbook Moon Microsoft Excel Programming 2 2nd Nov 2005 03:30 PM
macro to apply worksheet event to active worksheet Paul Simon Microsoft Excel Programming 3 7th Aug 2003 02:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:41 AM.