#1   Report Post  
James Westh
 
Posts: n/a
Default printing on excel

Hi All,

Does anyone know how i can place a page number or counter formula on a
spreadsheet that will automatically update everytime i print a copy out.
Essentially i want to count how many times i have printed the one
spreadsheet over a period of time. i.e - the counter or page number will be
10 if i have printed 10 copies of the spreadsheet or printed the sheet ten
times.

Please give some guidance if anyone has done this before.

Thanks,
James


  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Give yourself a macro to run.

Option Explicit
Sub testme()
With Worksheets("sheet1")
With .Range("a1")
If IsNumeric(.Value) Then
.Value = .Value + 1
.Parent.PrintOut preview:=True
Else
MsgBox "Cell isn't numeric!"
End If
End With
End With
End Sub

Remember to save the workbook or the counter will go back to what it was when
you opened the workbook.

I used A1 of Sheet1 and preview:=true (to save trees). Modify to match your
needs.

James Westh wrote:

Hi All,

Does anyone know how i can place a page number or counter formula on a
spreadsheet that will automatically update everytime i print a copy out.
Essentially i want to count how many times i have printed the one
spreadsheet over a period of time. i.e - the counter or page number will be
10 if i have printed 10 copies of the spreadsheet or printed the sheet ten
times.

Please give some guidance if anyone has done this before.

Thanks,
James


--

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Problems printing templates in Excel XP BPS Excel Discussion (Misc queries) 1 June 16th 05 11:18 PM
Printing - different machines, same excel, printer and driver cmpf Excel Discussion (Misc queries) 0 June 15th 05 08:11 PM
How to prevent user from printing in Excel? C Wayne Excel Discussion (Misc queries) 3 June 14th 05 09:10 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM


All times are GMT +1. The time now is 11:40 PM.

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"