I am trying to assign the value of a worksheet cell to a constant variable in a VBA macro. The logic behind that action is that the end user is supposed to enter the current
No it is not possible. As the word suggest it should be Constant.
Workaround:
Public Const weekRange As String = "$B$1"
Then in your code:
Sub Something() Dim thisWeek As Integer: thisWeek = Range(weekRange).Value '~~> some codes here End Sub