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 / Word / Programming / November 2004

Tip: Looking for answers? Try searching our database.

How can I invoke the macro after select a document  from New Dialo

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Balaramaraju - 23 Nov 2004 10:37 GMT
Dear all,

I need to write a vc++ application . whenever my application starts
execution it start a MS Word application , After selecting a document from
New Dialog I need to Invoke my Macro.

My question is ,
How can I invoke the macro after select a document  from New Dialog In MS
Word?
         
Note:-  the macro invokes when ever word start from my vc++ application
Jean-Guy Marcil - 23 Nov 2004 14:00 GMT
Balaramaraju was telling us:
Balaramaraju nous racontait que :

> Dear all,
>
[quoted text clipped - 8 lines]
> Note:-  the macro invokes when ever word start from my vc++
> application

Just (1) any document (based on any template), or only (2) some documents
based on specific templates shipped with your application?

If (1), inlcude the macro code in your C++ application.
If (2), inlcude the macro in the Document_New module in each specific
template (In their ThisDocument class module).

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

 
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.