Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Printing consecutive dates

Is it possible to print consecutive dates on each new page printed? I made a
form for my business that I print out and write on manually, but I have to
fill in the new date everyday. I would like to print multiples of this form
with each new form printed to have a new date on it without having to print
them one page at a time.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Printing consecutive dates

You could create a macro:

Option Explicit
Sub testme()
Dim iCtr As Long
Dim myDate As Date

myDate = Date ' or give it a starting date dateserial(2007,1,22)
With Worksheets("sheet1")
For iCtr = 1 To 5
.Range("a1").Value = myDate
.PrintOut preview:=True
myDate = myDate + 1
Next iCtr
End With
End Sub


This puts the date in A1 of Sheet1 and prints it 5 times.



Bradford88 wrote:

Is it possible to print consecutive dates on each new page printed? I made a
form for my business that I print out and write on manually, but I have to
fill in the new date everyday. I would like to print multiples of this form
with each new form printed to have a new date on it without having to print
them one page at a time.


--

Dave Peterson
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
Pre-1900 dates Richard Gadsden Excel Discussion (Misc queries) 1 March 26th 06 12:46 AM
Printing dates on 1 spreadsheet Megan Excel Discussion (Misc queries) 0 March 13th 06 05:09 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Page #s and bottom corner dates have disappeared in printing. flowerpot Excel Discussion (Misc queries) 1 October 7th 05 08:07 PM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM


All times are GMT +1. The time now is 07:10 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"