I have a function in which I set a VBA constant as follows:
Const KEY_TEXT As String = "mycystomtext"
Is there a way to change the VBA constant to a different text programmatically?
I have tried to define:
Const KEY_TEXT As String = Range("A1").value
but this leads to an error.