> The 2002/xp object model for publisher is for the most part
> the same, a few small differences.
I'd have to disagree with you there. Superficially they look the same,
but as soon as you try and do anything, you realise that Publisher
2002's OM is far less complete than 2003's.
> can be specified to reference a specific library. I have tried using
> similar statements in Publisher, but it does not seem to be working out well.
> Can anyone give me a hand figuring out where the reference objects lie in
> publishers version of the VBIDE? The code examples given in the help files
> are non-worky.
Do you have a help query that returns the non-worky code examples?

Signature
Ed Bennett - MVP Microsoft Publisher
http://ed.mvps.org
Cory - 23 Apr 2008 19:51 GMT
Certainly! The following is under the help topic for the IsBroken property
entry in the help.
Debug.Print Application.VBE.vbprojects(1).References(1).IsBroken
When executed returns an error saying method or data member not found. In
Excel I used a similar statement, and it worked. I looked at the Application
object in the watch window and saw VBE (I think, Can't recall right off
hand, working on a different unconnected network right now) as an object
under Application. Publsihers Application object does not seem to have this
object under it. There has to be a way to access the References collection.
Just don't know how.
Cory
> > The 2002/xp object model for publisher is for the most part
> > the same, a few small differences.
[quoted text clipped - 10 lines]
>
> Do you have a help query that returns the non-worky code examples?