I'm trying to declare an array with a size which varies depending on the number of columns in use (I'm building a check into the workbook open).
When I use :
Static nColorIndices(1 To cnNUMCOLS) it returns "constant expression required" whenever cnNUMCOLS is a variable. This variable will only change when you open the workbook though.
Any ideas of a way around this?
Bookmarks