Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default Auto Path in Footer

Karen, try this

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftFooter = "&""Arial""&8 " & ActiveWorkbook.FullName
End Sub

--
Paul B
Always backup your data before trying something new
Using Excel 97 & 2000
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **

"Karen" wrote in message
...
I use the following code to enter the network path into
the footer of my worksheet

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftFooter = ActiveWorkbook.FullName
End Sub

How can I change the code so it does not use the default
font size? The default is currently 10 and I want the
path to be 8

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
full UNC path in footer muttdaemon Excel Discussion (Misc queries) 1 October 12th 05 06:21 PM
Path in page footer Joshua K Briley Excel Discussion (Misc queries) 6 August 24th 05 09:17 PM
Path and File Name to Footer Jeanne Excel Discussion (Misc queries) 3 July 13th 05 01:48 PM
Footer - FileName and Path bill_morgan_3333 Excel Discussion (Misc queries) 6 December 30th 04 01:47 AM
Entering Path Name in Footer Emily Edgington Excel Worksheet Functions 2 November 9th 04 06:48 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"