I've been given the responsibility to fix a broken macro of a termed employee. This individual used the code listed below but I don't understand he used the Windows object rather than Sheet object. Is there any logical reason to do this? I suspect there must be a reason that I'm not aware of since he used the Sheets object in other places.
Code:
Windows("Revenue.xlsx").Activate
Last edited: