Microsoft Document Imaging - Automation

S

SSDG

The following is from MODI help:

Microsoft Office Document Imaging supports Automation. ... Office Document
Imaging exposes a document object, and a viewer object, so that a program can
be written for example to open a Tagged Image File Format (TIFF) or Microsoft
Document Imaging Format (MDI) document, change the zoom scale, compression
options, and OCR text information.

I work in Excel and the object library for MODI is present and activated.
However I cannot access any objects from the Excel VBA editor nor does any
reference to automation tools appear anywhere in the MODI application itself.
I assume from the initial help statement above that you are supposed to
automate from another office product such as Excel.

However, it doesn't recognize MODI as a valid variable:

The code statement: "Application.ActivateMicrosoftApp MODI " returns:

Compile Error: "Expected variable or procedure, not project"

What else is needed in addition to activating the object library for MODI?


Purpose:

I would like full automation capabilities in the MODI application. However,
as a minimum I would like to be able to automate the highlighting function so
that I could select text and have a macro copy the text and highlight the
same text. Additionally, it would allow me to code in variables for the
color, size, etc.
 

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