LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Frantic Excel-er
 
Posts: n/a
Default

Thank you so very much...I thought I tried that , but obviously, I had
something wrong....it is very helpful......Thanks again!!!!!!!!!!!!!

"Jason Morin" wrote:

I'm not sure I follow entirely, but this will give you the full path and
sheet name, *all* in Arial and 8 point font:

.CenterHeader = "&8" & "&""Arial""" & ActiveWorkbook.FullName & " &A"

HTH
Jason
Atlanta, GA

"Frantic Excel-er" wrote:

Hi all....

I have this bit of code in a macro that I would like formatted, but I do not
know how....the code is to automatically insert the file path and the tab
name of a spreadheet....I would like to format the code, so that every time
it opens a document it will make the font Arial size 8. What I have now only
makes the "&A" (which is the tab) size 8......

Here is the string....
.CenterFooter = ActiveWorkbook.FullName & Chr(10) & "&""Arial""&8&A"

Any suggestions would be great!!!!!!!!!!!!

 
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
Make Change Case in Excel a format rather than formula Kevin Excel Worksheet Functions 1 March 18th 05 08:53 PM
Formatting Date in Header & Footer Eliza Excel Discussion (Misc queries) 1 March 15th 05 09:17 PM
Opening a file with code without a set file name jenkinspat Excel Discussion (Misc queries) 1 March 4th 05 10:50 AM
How do I retain leading zero zip code formatting when saving as a. RodFCIS Excel Discussion (Misc queries) 7 January 25th 05 07:29 PM
Formatting a footer with a top border-line Ed Isenberg Excel Discussion (Misc queries) 3 December 19th 04 10:41 PM


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