Hi all,
Banging my head. I can't work out why this is not working.
I have the following code behind the "ThisWorkbook" object
and some example code in sit in a normal module called SubsToCallPlease Login or Register to view this content.
However, when running the event Workbook_Open as soon as it hits the first instance of .Run I get a '1004' runtime error "Application-defined or object-defined error".Please Login or Register to view this content.
Why can I not 'Run' a sub from the ThisWorkbook object? I can 'Call' public and normal subs, but not private, and I'm fairly sure that I have used 'Run' from a sheet object before. Any ideas?
Bookmarks