> I am trying to create a macro in publisher and I have followed the
> instructions in the lesson. but each time I run the macro I get this
> error message
Which instructions are you following?
What lesson are you talking about?
You cannot write VBA code in a Publisher document macro to create a new
instance of Publisher. It isn't allowed. You have to use a full
programming language that supports COM or COM interop (e.g. Visual Basic,
Visual Basic .NET, Visual C++, C#, etc.) to be able to create new instances
of Publisher.

Signature
Ed Bennett - MVP Microsoft Publisher
cindy - 17 Aug 2005 16:58 GMT
I am using Programming Publisher 2003 made easy. off the microsoft.com web
site. It shows me how to create a newsletter using a macro. but after
following the instructions I get this error. all the other lessons that I did
worked except this one.
> > I am trying to create a macro in publisher and I have followed the
> > instructions in the lesson. but each time I run the macro I get this
[quoted text clipped - 8 lines]
> Visual Basic .NET, Visual C++, C#, etc.) to be able to create new instances
> of Publisher.
Ed Bennett - 17 Aug 2005 18:24 GMT
> I am using Programming Publisher 2003 made easy. off the
> microsoft.com web site. It shows me how to create a newsletter using
> a macro. but after following the instructions I get this error. all
> the other lessons that I did worked except this one.
Which lesson of in the series is this?

Signature
Ed Bennett - MVP Microsoft Publisher
cindy - 17 Aug 2005 18:54 GMT
lesson 2
> > I am using Programming Publisher 2003 made easy. off the
> > microsoft.com web site. It shows me how to create a newsletter using
> > a macro. but after following the instructions I get this error. all
> > the other lessons that I did worked except this one.
>
> Which lesson of in the series is this?
Ed Bennett - 17 Aug 2005 21:49 GMT
> lesson 2
I have read through the lesson, and it looks like the code in it has been
written with using the full-blown Visual Basic in mind, rather than the
Visual Basic for Applications present in Publisher.

Signature
Ed Bennett - MVP Microsoft Publisher