Stefan,
i have tried your very simple code to save PDF Document but without success. I have a variable which stores the filename. On executing WshShell.Sendkeys strFilename, the system types in the variable in the vba code itself and not on the activated SAVE AS Dialog Box.
Could you kindly look into this.
thanks
Amit
************************************************************
Set WshShell = CreateObject("WScript.Shell")
Application.Wait Now + TimeValue("0:00:01")
AppActivate "Speichern unter"
WshShell.SendKeys "%n"
WshShell.SendKeys strFilename
WshShell.SendKeys "%s"
Set WshShell = Nothing
************************************************************