Re: Matt - My first run with OOEU

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu