WaterSprite
Technical User
Is the use of "Set" in a line of code outdated. In the last two days, any spreadsheet that I have with "Set" at the beginning of the line of code is not working, even though it has worked up to now for the last two or three years with that code.
Set MyDate = Worksheets("Sheet1").Range("A1").
What I get is: Code execution has been interrupted.
When I go to Debug, the highlighted line of code is always the one with "Set" at the beginning of the line. And it is different sheets, not just the same one all the time.
Should I just write MyDate = and go on without useing "Set
Set MyDate = Worksheets("Sheet1").Range("A1").
What I get is: Code execution has been interrupted.
When I go to Debug, the highlighted line of code is always the one with "Set" at the beginning of the line. And it is different sheets, not just the same one all the time.
Should I just write MyDate = and go on without useing "Set