View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Harry[_3_] Harry[_3_] is offline
external usenet poster
 
Posts: 1
Default Increment a variable

Found this on www.mrexcel.com It works great. Excel will do increment on open

In the Workbook module (Or, if its a Userform, in the Initialize event of that Userform) put the following

Private Sub Workbook_Open(
Sheet1.Range("A1") = Sheet1.Range("A1") +
End Su

By Juan Pablo Gonzalez on 25-May-2002