I'm trying to use this as a Public or Global variable
colnum = Round((Date - DateValue("12/20/2017")) / 7, 0)
I did this:
Insert -> Module:
Public colnum As Integer
Function UpdateCorrectColumn() As Integer
colnum = Round((Date - DateValue("12/20/2017")) / 7, 0)
End Function
Result:
Run...