Hey Havano
That's interesting
So, are you telling me that is is the case for all data types?
In other words, I have successfully declared variables (of the same data types) in the past in a linear direction
ie. Dim CurrPath1, CurrPath2, CurrPath3, CurrPath4 as String
And there was no problem.
Prior to last week, I never tried that with The Double Data Type.
So, to test this theory, I would propose that you (we) try something like this
Dim Layer1, Layer2, Layer3, Layer4 as acadlayer
Obviously you will need to do a bit more coding but I do believe that all 4 will be recognized as an acad layer and not as a Variant type. If you are correct, then only the last one will be recognized as an acad layer and the first 3 will error out. Time permitting, let's see what happens
Mark