I need to print a daily manual check list and with each copy I print need to increment the date field ie: 1st page printed = 10th July 2nd page printed = 11th July.
Is this possible please ...... Thanks.
I need to print a daily manual check list and with each copy I print need to increment the date field ie: 1st page printed = 10th July 2nd page printed = 11th July.
Is this possible please ...... Thanks.
Hi,
Can't you put a custom footer in the page set up with something like "Printed on " then click the date icon?
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
Wise Old Owl...
Sorry - just to clarify ....
I print one months worth of safety check sheets in one go ... so when I send it to the printer can Excel create a different date on each page???
Thanks for your time.
Hilary
Hi,
To do that you would need a macro, but if you want a workaround you could go to File > Page Set up > Header/Footer, click Custom Header in the left section type July and a single space, then click on Page number icon (2nd one). Then when printed each new page is "dated". Obviously you would need to edit it for each month. does that work for you?
OldChippy,
Slick trick - I like it!![]()
I agree with Mr South Carolina! ... very slick.
Thank you - will try it when I go into work.
The Macro you mention ..... is it complex?
If not I'd like to have a go at it if you wouldn't mind pointing me in the right direction.
Much appreicated,
Hilary
I'm trying to do the same thing but I need 6 months in advance and need the day of week included. Is that possible?
Can you create something that allows me to pick dates to print?
you said each page. not that your report took 2 pages!
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
try this code
![]()
Sub datesinfooter() Dim CopiesCount As Long Dim CopieNumber As Integer Dim N As Integer N = 1 CopiesCount = Application.InputBox("How many days in month ?", Type:=1) For CopieNumber = 1 To CopiesCount With ActiveSheet .PageSetup.RightFooter = "&""Arial,Bold""&16DATE : " & N & Format(Now, " MMMM YYYY") .PrintOut 'Print the sheet End With N = N + 1 Next CopieNumber ActiveSheet.PageSetup.RightFooter = "" End Sub
I slept on it and came up with this, there may be(well there definitely are to be honest) neater ways as my vba isn't too hot!!!
Thank you so much for your hard work.
Will try it when I get into work.
Grateful Hilary
My solution for creating a month of pages with a new date on each page required no special macros or page headers.
I simply created one day and then inserted a page break and continually copied and pasted the days underneath until a month was completed,
incrementing each day by a +1 function.
please start your own thread link to this if required
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks