It failes to call Documents.Open method without VBA installed

H

HemiltonChen

Hi everyone,

When i uninstalled VBA on my machine, and I tried to open an existing
file from disk via Documents.Open Word API, but it failed to call this
method, and the code ran into my catch{} clause, has anyone
encountered this issue also? is it a Word API bug? if yes, any office
kb articles addressing this issue?
 
J

Jay Freedman

Not a bug. If you removed VBA, then there's nothing there to execute
the method you called -- the dll and its entry point don't exist. Put
it back, or else stop calling any VBA methods.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top