#1   Report Post  
Posted to microsoft.public.excel.misc
David
 
Posts: n/a
Default Increasing Number

Hello, is there anyway I can get a number in my spreadsheet to increase when
I print my document.

Thank You


  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Increasing Number

Yes. There are two cases. Let's say you have the number 15 in cell A1.


If you want to increase the number before you print, then click on the cell
and enter 16 prior to printing.

If you want to increase the number after you print, print the worksheet then
click on the cell and enter 16.
--
Gary's Student


"David" wrote:

Hello, is there anyway I can get a number in my spreadsheet to increase when
I print my document.

Thank You


  #3   Report Post  
Posted to microsoft.public.excel.misc
Dana DeLouis
 
Posts: n/a
Default Increasing Number

This code may work if you place it in the "ThisWorkbook" module.

Private Sub Workbook_BeforePrint(Cancel As Boolean)
[A1] = [A1] + 1
End Sub

--
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"David" wrote in message
...
Hello, is there anyway I can get a number in my spreadsheet to increase
when
I print my document.

Thank You




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
number format Ivan Excel Discussion (Misc queries) 2 October 14th 05 02:08 PM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 3 October 14th 05 12:50 PM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 1 October 8th 05 07:33 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Need number of Saturdays and number of Sundays between 2 dates Class316 Excel Worksheet Functions 1 June 10th 05 02:47 AM


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