G Guest Mar 15, 2007 #1 Within microsoft excel, I need to show a counter that will increase everytime that file is opened.
G Guest Mar 15, 2007 #2 The following will put a counter in Sheet1 cell A1. Paste the macro in Workbook code: Private Sub Workbook_Open() Set r = Sheets("Sheet1").Range("A1") r.Value = r.Value + 1 End Sub
The following will put a counter in Sheet1 cell A1. Paste the macro in Workbook code: Private Sub Workbook_Open() Set r = Sheets("Sheet1").Range("A1") r.Value = r.Value + 1 End Sub