Hi,
I'm having trouble declaring a global constant. Here is the code line which is written at the top of a module (.row is highlighted when it errors):
Public Const PupilCount As Long = Sheet9.Range("A65536").End(xlUp).Row
Also, when is a global constant initialised? When the workbook is opened?
Cheers
Bookmarks