LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to change font in a macro that inserts a formula in a footer

I've written the following macro (this is the operative part of it) to insert
the file name AND path into the left footer of my Excel 2000 spreadsheet:

With ActiveSheet.PageSetup
.LeftFooter = ActiveWorkbook.Path
.LeftFooter = ActiveWorkbook.FullName
End With

The macro works fine. HOWEVER, I want to change the point size of the font
from "normal" to .08. I've tried entering a line code of "&08", but it
doesn't work, as this is intended to change text. Since the macro is
entering a formula, the "&08" doesn't work.

Any solution?

Thank you in advance.
 
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
don't want to have to change font in header and footer each time? rtur Excel Worksheet Functions 1 March 16th 10 09:23 PM
Macro to Change Footer on all worksheets Karin Excel Discussion (Misc queries) 7 September 21st 08 04:58 PM
macro that will change the font of a cell if i change a value jk Excel Discussion (Misc queries) 2 July 29th 08 04:39 PM
Add Font to Header/Footer macro JHL Excel Discussion (Misc queries) 4 January 5th 07 07:45 PM
how you change font colour in header/footer? Jo Lant Excel Discussion (Misc queries) 1 June 26th 06 12:40 PM


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