Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default printing same page with multiple dates

I am trying to print a vacation log with separate dates on the same
sheet. The sheet should look the same except for 1 cell that contains,
this cell should use a different date with each printed page. I have 1
sheet formatted the way I want with cell D3 being the date and another
sheet that contains all of the dates down row A1:A365 that I need a
sheet printed for. I am not familiar with macros and need some help if
that is the way to go. Using Excel 2003.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default printing same page with multiple dates

Sub printStuff()
Dim mainSheet As Worksheet
Dim dateList As Worksheet
Dim i As Integer
Set mainSheet = Sheets("MainSheet")
Set dateList = Sheets("DateList")
For i = 1 To 365
With mainSheet
.Range("D3").Value = _
dateList.Cells(i, 1).Value
.PrintOut
End With
Next i
End Sub

dysart316 wrote:
I am trying to print a vacation log with separate dates on the same
sheet. The sheet should look the same except for 1 cell that contains,
this cell should use a different date with each printed page. I have 1
sheet formatted the way I want with cell D3 being the date and another
sheet that contains all of the dates down row A1:A365 that I need a
sheet printed for. I am not familiar with macros and need some help if
that is the way to go. Using Excel 2003.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default printing same page with multiple dates

On Oct 12, 10:56 am, JW wrote:
Sub printStuff()
Dim mainSheet As Worksheet
Dim dateList As Worksheet
Dim i As Integer
Set mainSheet = Sheets("MainSheet")
Set dateList = Sheets("DateList")
For i = 1 To 365
With mainSheet
.Range("D3").Value = _
dateList.Cells(i, 1).Value
.PrintOut
End With
Next i
End Sub



dysart316 wrote:
I am trying to print a vacation log with separate dates on the same
sheet. The sheet should look the same except for 1 cell that contains,
this cell should use a different date with each printed page. I have 1
sheet formatted the way I want with cell D3 being the date and another
sheet that contains all of the dates down row A1:A365 that I need a
sheet printed for. I am not familiar with macros and need some help if
that is the way to go. Using Excel 2003.- Hide quoted text -


- Show quoted text -


Worked like a charm. Thanks for the quick reply.

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
Printing Multiple pages one one page glee138 Excel Discussion (Misc queries) 2 May 1st 07 02:00 PM
Printing multiple page worksheets on 1 single page Hope Excel Discussion (Misc queries) 1 January 7th 07 03:56 AM
Page #s and bottom corner dates have disappeared in printing. flowerpot Excel Discussion (Misc queries) 1 October 7th 05 08:07 PM
multiple page printing Scudo New Users to Excel 6 August 21st 05 06:49 PM
printing multiple page workbook Ntisch Excel Discussion (Misc queries) 0 August 1st 05 05:35 PM


All times are GMT +1. The time now is 12:04 AM.

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

About Us

"It's about Microsoft Excel"