View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default How do I automatically reset numbers to 0 on a daily basis?

Hi,

You don't say which numbers but you could use the workbook open event to do
what you want

Private Sub Workbook_Open()
Sheets("Sheet1").Range("A1") = 0
End Sub

Mike

.(donotspam)" wrote:

I work at a school and we have a lunch count that we do in an Excel
spreadsheet. The teachers update their homeroom counts on a daily basis and
it all gets combined in a report for the cafeteria staff. I would like the
numbers to reset to zero at the end of every day so that if a teacher forgets
to make a change to a number, it is not carried over the the previous day.
Any thoughts? Thanks in advance!