Accessing Python or DLLs from Word

G

Goran

I am experimenting with an app which is to process large Word doc's, and
needs the dictionary objects available in Python (and C++). Is there a way
to make a Python app or a DLL appear like a macro within Word; is VBA a good
"glue" to access that Python app, or just dumb? If so, how do I call the
part which is in the other language from Word?

Or are there other better architectures?

Best,

Goran
 
J

Jezebel

Don't know anything about Python. You can register a DLL (or any compliant
library file) in VBA through Tools > References. The functions within the
DLL can then be called from within VBA. They don't appear directly as
macros. You need to write wrapper functions (ie a macro that calls the DLL
function).
 

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