Hi all,
I need assistance troubleshooting my graphing macro.
The specific message that I am getting is a message box stating:
In the box title bar: "Ole Dispatch Exception in Worksheet Open Event Handler"
In the body: "Activate method of Window class failed"
My macro takes data from worksheet X and places the graph in worksheet X.
The relevant code looks like:
After throwing the error the macro execution continues to the end.
I'm not sure what the error is telling me as I'm not explicitly calling activate where the error is being thrown. I have tried moving code around, eg. putting the Location() call at the bottom of the sub-routine but am still getting the error.
Any help is appreciated.
Thanks!
Thanks!
Bookmarks