Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Programming / August 2005

Tip: Looking for answers? Try searching our database.

ERROR MESSAGE 2147221463

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cindy - 15 Aug 2005 19:08 GMT
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
Runtime error 2147221463 (80040029) Publisher can not perform this action
because code is running in the active document. to ope or create a second
doc, create a new instance of publisher."

Please help.
Ed Bennett - 15 Aug 2005 20:12 GMT
> 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


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.