Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 3
Default macro for formatting

I'm using Office 2000. I have a fair number of exports from Access to Excel
every month. I'd *like* to format my spreadsheets the same, and automate as
much as possible (time permitting). (I would probably use vba on the Access
side, but don't really have the time right now to play with that.)

Can I use one or more macros to set the formatting properties? Such as what
text is in a header row cell, what my headers and footers are, what font, size,
gridlines, margins, etc.? Or do I still have to do all this manually?

If so, could you please give me an idea how? Or a website/location with
examples?

And would I want to store this/these macro(s) in a "personal.xls" workbook?

Thanks so much,

Tom


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default macro for formatting

Do all of the formatting manually on the Excel spreadsheet with the macro
recorder turned on. You will then have your macro.

--
HTH

Bob Phillips

"Tom" wrote in message
...
I'm using Office 2000. I have a fair number of exports from Access to

Excel
every month. I'd *like* to format my spreadsheets the same, and automate

as
much as possible (time permitting). (I would probably use vba on the

Access
side, but don't really have the time right now to play with that.)

Can I use one or more macros to set the formatting properties? Such as

what
text is in a header row cell, what my headers and footers are, what font,

size,
gridlines, margins, etc.? Or do I still have to do all this manually?

If so, could you please give me an idea how? Or a website/location with
examples?

And would I want to store this/these macro(s) in a "personal.xls"

workbook?

Thanks so much,

Tom




  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 3
Default macro for formatting

This is *really* cool. Thanks!

I've put my macro code into "personal.xls". (I first tried "personal.xlt".)
Neither works (can't find it) when my 'personal.???' is in 'XLSTART'. When it's
in the same directory as the spreadsheet I'm working on however, it works just
fine. Any idea what I might be doing wrong?

Appreciate the help,

Thanks again.

On Mon, 20 Jun 2005 18:29:42 +0100, "Bob Phillips"
wrote:

Do all of the formatting manually on the Excel spreadsheet with the macro
recorder turned on. You will then have your macro.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default macro for formatting

Put Personal.xls in the XLStart directory, shutdown Excel, then start it
again and you should have macros from Personal.xls in the macros list. It
will say something like

Personal.xls!myMacro

--
HTH

Bob Phillips

"Tom" wrote in message
...
This is *really* cool. Thanks!

I've put my macro code into "personal.xls". (I first tried

"personal.xlt".)
Neither works (can't find it) when my 'personal.???' is in 'XLSTART'.

When it's
in the same directory as the spreadsheet I'm working on however, it works

just
fine. Any idea what I might be doing wrong?

Appreciate the help,

Thanks again.

On Mon, 20 Jun 2005 18:29:42 +0100, "Bob Phillips"


wrote:

Do all of the formatting manually on the Excel spreadsheet with the macro
recorder turned on. You will then have your macro.




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
Macro formatting last row Erin Excel Worksheet Functions 3 February 1st 10 03:41 PM
Formatting for a Macro Maggie Excel Discussion (Misc queries) 3 February 28th 07 02:00 AM
Formatting via a macro mike_vr Excel Discussion (Misc queries) 3 November 8th 06 04:19 PM
formatting macro Greg Brow Excel Programming 1 February 16th 05 10:36 AM
Macro for formatting Brian Clarke[_2_] Excel Programming 5 September 5th 03 01:55 PM


All times are GMT +1. The time now is 11:41 PM.

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"