thanks Peet, but i didn't get a solution. I pasted the code you suggested right beneath the ShellExecute Call....Nothing happened....The Appln is still open...Am i wrong somewhr?
- Jemima
My code :
VB Code:
ShellExecute Me.hwnd, "Print", sFile, vbNullString, vbNullString, 1 'Print code DoEvents 'send Alt + F4 to shutdown the Adobe app. SendKeys "%{F4}"




Reply With Quote