Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
how to show the full path of excel file in the foot of page while printing?
excel 2K only gives me the option for the name of the file not the full path. |
#2
![]() |
|||
|
|||
![]()
Private Sub Workbook_BeforePrint(Cancel As Boolean)
With activepage.PageSetup .LeftFooter = ThisWorkbook.FullName End With End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH RP (remove nothere from the email address if mailing direct) "Song" wrote in message ... how to show the full path of excel file in the foot of page while printing? excel 2K only gives me the option for the name of the file not the full path. |
#3
![]() |
|||
|
|||
![]()
Typo, should be
Private Sub Workbook_BeforePrint(Cancel As Boolean) With ActiveSheet.PageSetup .LeftFooter = ThisWorkbook.FullName End With End Sub -- HTH RP (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... Private Sub Workbook_BeforePrint(Cancel As Boolean) With activepage.PageSetup .LeftFooter = ThisWorkbook.FullName End With End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH RP (remove nothere from the email address if mailing direct) "Song" wrote in message ... how to show the full path of excel file in the foot of page while printing? excel 2K only gives me the option for the name of the file not the full path. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Empty Excel File -- Data Lost? | Excel Discussion (Misc queries) | |||
Excel startup switches | Excel Discussion (Misc queries) | |||
Changing the format of an Excel output file made by Microsoft Access | Excel Discussion (Misc queries) | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) | |||
Excel 2000 file when opened in Excel 2003 generates errors? | Excel Discussion (Misc queries) |