Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Add Font to Header/Footer macro

Hello,
I use the following macro to print file location in my spreadsheets. I am
partial however to wanting a specific font, Comic Sans MS, Regualr style, 8
or 9 size.

I can't seem to figure out how to put this in the macro and have it work.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Add Font to Header/Footer macro

I'm sorry I forgot to paste the macro.


'
' Path_Name Macro
' Prints full file path & name on page header
'
'
Sub Print_path()
ActiveSheet.PageSetup.CenterFooter = ActiveWorkbook.FullName
End Sub


"JHL" wrote:

Hello,
I use the following macro to print file location in my spreadsheets. I am
partial however to wanting a specific font, Comic Sans MS, Regualr style, 8
or 9 size.

I can't seem to figure out how to put this in the macro and have it work.

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Add Font to Header/Footer macro

Try

ActiveSheet.PageSetup.CenterFooter = "&""Arial
Black,Bold"&""ActiveWorkbook.FullName


"JHL" wrote:

I'm sorry I forgot to paste the macro.


'
' Path_Name Macro
' Prints full file path & name on page header
'
'
Sub Print_path()
ActiveSheet.PageSetup.CenterFooter = ActiveWorkbook.FullName
End Sub


"JHL" wrote:

Hello,
I use the following macro to print file location in my spreadsheets. I am
partial however to wanting a specific font, Comic Sans MS, Regualr style, 8
or 9 size.

I can't seem to figure out how to put this in the macro and have it work.

Thank you

  #4   Report Post  
Posted to microsoft.public.excel.misc
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Add Font to Header/Footer macro

I copied and pasted your reply, but there is a coding error. Should there be
some brackets omitted or closing the quote marks or omitting them around the
activeworkbook statement?

"Sean Timmons" wrote:

Try

ActiveSheet.PageSetup.CenterFooter = "&""Arial
Black,Bold"&""ActiveWorkbook.FullName


"JHL" wrote:

I'm sorry I forgot to paste the macro.


'
' Path_Name Macro
' Prints full file path & name on page header
'
'
Sub Print_path()
ActiveSheet.PageSetup.CenterFooter = ActiveWorkbook.FullName
End Sub


"JHL" wrote:

Hello,
I use the following macro to print file location in my spreadsheets. I am
partial however to wanting a specific font, Comic Sans MS, Regualr style, 8
or 9 size.

I can't seem to figure out how to put this in the macro and have it work.

Thank you

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Add Font to Header/Footer macro

Umm.. but put in the fonts you want.. sorry about that.

"JHL" wrote:

I'm sorry I forgot to paste the macro.


'
' Path_Name Macro
' Prints full file path & name on page header
'
'
Sub Print_path()
ActiveSheet.PageSetup.CenterFooter = ActiveWorkbook.FullName
End Sub


"JHL" wrote:

Hello,
I use the following macro to print file location in my spreadsheets. I am
partial however to wanting a specific font, Comic Sans MS, Regualr style, 8
or 9 size.

I can't seem to figure out how to put this in the macro and have it work.

Thank you



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
how do I email amacro? leo Excel Worksheet Functions 24 August 9th 06 02:47 PM
Editing a simple macro Connie Martin Excel Worksheet Functions 5 November 29th 05 09:19 PM
Event Macro adjustment needed - need to change font color also nick s Excel Worksheet Functions 2 November 28th 05 05:50 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Strikethrough and Underline Font Macro Rainman Excel Worksheet Functions 0 August 9th 05 01:32 PM


All times are GMT +1. The time now is 05:55 AM.

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"