Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Take a look at the way John Walkenbach implemented a similar routine:
http://j-walk.com/ss/excel/files/addpath.htm (The code is unprotected.) Andrew wrote: Frank - thank you for your previous reply. What I'd like to do now is create a sub that I can place in my user's Personal workbook that will copy the code below into the active workbook (so they can add this code to any workbook they wish): Private Sub Workbook_BeforePrint(Cancel As Boolean) Dim wkSht As Worksheet For Each wkSht In Me.Worksheets With wkSht.PageSetup .CenterFooter = Format _ (ActiveWorkbook.BuiltinDocumentProperties _ ("Last save time"),"DD.MM.YYYY") End With Next wkSht End Sub Thanks again!! Andrew -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create a macro to create excel line graph with coloured pointers anddata lables | Charts and Charting in Excel | |||
How to create adress list so can mail merge and create labels? | Excel Discussion (Misc queries) | |||
how to create a combo box in excel - how to create the drop down . | Excel Discussion (Misc queries) | |||
How to create a form to insert a hyerlink.VBA code to create a for | Excel Discussion (Misc queries) | |||
Create dictionary of terms, create first time user site | New Users to Excel |