i am trying to store a value to a global variable using
lastvalue is declared as a string in a module.
I get a Complile Error - Invalid qualifier.
Any idea what is causing this?
Checked and its not just a spelling mistake.
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
lastvalue.Value = Target.Value
End Sub
lastvalue is declared as a string in a module.
I get a Complile Error - Invalid qualifier.
Any idea what is causing this?
Checked and its not just a spelling mistake.