I want to find Abobe acrobat running on my desktop and "Sendkeys" to save teh .pdf to another folder
the Hot key sequence to save is "Ctrl-Shift-S"
here is my code so far...
---------------
Dim AdobeName, DocumentName As String
DocumentName = "[" & "Drawing1 Model(1).pdf" & "]"
AdobeName = "Adobe Acrobat" ' - " & DocumentName
If FindWindow(vbNullString, AdobeName) = 1 Then
SendKeys
End If
--------------------------------------
the first problem is it does not find the Adobe program so it jumps over the IF statement
then what do I put in the Send Keys to make sure it Sends keys to the Adobe program and not something else.
DougP, MCP
Visit my WEB site to see how Bar-codes can help you be more productive
the Hot key sequence to save is "Ctrl-Shift-S"
here is my code so far...
---------------
Dim AdobeName, DocumentName As String
DocumentName = "[" & "Drawing1 Model(1).pdf" & "]"
AdobeName = "Adobe Acrobat" ' - " & DocumentName
If FindWindow(vbNullString, AdobeName) = 1 Then
SendKeys
End If
--------------------------------------
the first problem is it does not find the Adobe program so it jumps over the IF statement
then what do I put in the Send Keys to make sure it Sends keys to the Adobe program and not something else.
DougP, MCP
Visit my WEB site to see how Bar-codes can help you be more productive