Re: Matt - My first run with OOEU
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Oct 13, 2006
- 507 views
Jonas Temple wrote: > > Well, I downloaded the OOEU package and installed. I then tried to run the > ExcelObjects.exw demo and got the following: > > excelobjects.exw:56 > method 'Workbooks' does not exist > wbs = App.Workbooks() <snip> > I checked ExcelObjects.ew and there is a Workbooks method in the > ExcelApplication > class. I'd totally forgotten about this until you brought it up. I'm adding it as a demo for ooeu. The problem is that I introduced constructors in 1.7.0 (as you can see from comments in the code, this demo was back in the 1.4.1 days). You will also note that there's a Workbooks class, so this method looks kinda like a constructor. I've fixed the bug for the next release (sometime between now and Monday, hopefully). An easier solution would be to change the method (and all the places that call it--probably just the one, but I haven't really checked) name to something else like GetWorkbooks. Matt Lewis