Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using .MenuItemExecute ("Scan") from VB

Status
Not open for further replies.

flek0s

Programmer
Apr 14, 2005
4
GB
Hello
I am new to Adobe and only need to perform a simple task. As part of M$ Word automation I want to scan documents to Acrobat v5, using a Samsung printer/scanner, after they have been printed and signed. Each .pdf will then be saved to specific location on the hard drive.

I can open Adobe and start the scanning using:

Dim Acroapp As CAcroApp
Set Acroapp = CreateObject("AcroExch.App")
Acroapp.Show
Acroapp.MenuItemExecute ("Scan")

However a popup window "Acrobat Scan Plug-in" appears requiring the {ENTER} key or <Scan> button to be pressed. Since I want to batch process documents unatended I have tried using VB SendKeys "{TAB}" to simulate pressing the button, but to no avail. Any suggestions would be appreciated.

Many Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top