Number increments

  • Thread starter Thread starter mbruggemann
  • Start date Start date
M

mbruggemann

I have an excel spreadsheet with one cell that needs to be incremented
by 1 every time it prints. So the first printout should read 1 the
second 2 etc.. Any help is appreciated..

Thanks,
Melissa
 
Use a before_print event in the ThisWorkbook module to add 1 to a cell
somewhere.
sheets("sheet2").range("a1").value=sheets("sheet2").range("a1")+1

--
Don Guillett
SalesAid Software
(e-mail address removed)
"mbruggemann" <[email protected]>
wrote in message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top