chamster
09-02-2007, 10:54 PM
I get errors while running this code (despite the fact that the type of the selection indeed is Range). Why?
' the type is Range
MsgBox TypeName(Selection)
Dim sel As Range
' here i get an error
sel = Selection
' the type is Range
MsgBox TypeName(Selection)
Dim sel As Range
' here i get an error
sel = Selection