I must be doing something basic wrong.
I get an error only for c, that the object variable or with block variable is not set.![]()
Please Login or Register to view this content.
if I change the dim line to
dim a, b, c, d as range and never use variable d, then the macro runs as I expect with no errors.
Can anyone explain? Visual Basic 6.5 in Excel 2003.
Bookmarks