R
R Avery
Why would anyone prefer declaring a variable as object rather than
explicitly declaring what type of object it is (assuming it will always be
the same in the end)?
For example, in workbook events, why is it "ByVal Sh As Object" rather than
"ByVal Sh As Excel.Worksheet"?
Is it a problem with maintaining references, or...???
Thanks!
explicitly declaring what type of object it is (assuming it will always be
the same in the end)?
For example, in workbook events, why is it "ByVal Sh As Object" rather than
"ByVal Sh As Excel.Worksheet"?
Is it a problem with maintaining references, or...???
Thanks!