View Single Post
  #7   Report Post  
Posted to microsoft.public.word.vba,microsoft.public.word.docmanagement
Tony Jollans
 
Posts: n/a
Default Documents.Add fails

Ah, I see. Interesting.

What is the failure, techie? Do you get an error code or message?
Does it work if you just code Documents.Add (w/o "Application")?
And what object pointers do you have set in your C# code?

--
Enjoy,
Tony


"Cindy M -WordMVP-" wrote in message
news:VA.0000b848.00a0eb40@speedy...
Hi Tony,

I think you're missing the point of Helmut's and Howard's posts

Application.etc.

will not work unless "Application" is the name of your object variable

which
points to the Word object you have created.

No, I think you an Helmut misunderstood. "Techie" was calling a macro in

the
Word environment - in a Word VBA project. Application is correct in that

case.
The problem is that the WORD MACRO apparently can't execute Documents.Add
under the given circumstances.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)