BobBridges
Active Member
Today I continue developing an application for a client and I'm suddenly encountering various errors. I'm a little terrified about it because it seems like the problem is in the latest Excel update; I'm hoping someone will tell me I'm wrong and it's something I can fix.
1) A class method that worked yesterday is now unfindable to Excel: My statement reads simply "omdl.Fill", and at compile time (before execution begins) Excel says that method cannot be found. It's still right there.
2) I commented that statement out in order to go on testing, but: At the beginning of the run I save a number of properties including ActiveSheet.DisplayPageBreaks. Today when it gets to that statement, I get "application-defined or object-defined error". I can see the DisplayPageBreaks property in the Watches window, but when I ask to have it displayed in the Immediate window it gives the same error.
3) I commented that out, too, and Excel gave me the same error at another early statement, "Set ocs = ows.Cells" (where ows is a worksheet).
I conclude something is drastically wrong. Is anyone else having problems after updating? I'm using Office Pro Plus 2019.
1) A class method that worked yesterday is now unfindable to Excel: My statement reads simply "omdl.Fill", and at compile time (before execution begins) Excel says that method cannot be found. It's still right there.
2) I commented that statement out in order to go on testing, but: At the beginning of the run I save a number of properties including ActiveSheet.DisplayPageBreaks. Today when it gets to that statement, I get "application-defined or object-defined error". I can see the DisplayPageBreaks property in the Watches window, but when I ask to have it displayed in the Immediate window it gives the same error.
3) I commented that out, too, and Excel gave me the same error at another early statement, "Set ocs = ows.Cells" (where ows is a worksheet).
I conclude something is drastically wrong. Is anyone else having problems after updating? I'm using Office Pro Plus 2019.