We're still working with PDFCreator version 1.6.2 on Windows 7, due to a migration to Windows 10 our solution in Excel VBA doesn't work anymore.
On Windows 7 following code worked
Do 'PDF print Dim oWSH3 As New WshShell Dim IEview As Object Dim oSH As WshNetwork Set oSH = New WshNetwork oSH.SetDefaultPrinter "PDFCreator" Set oSH = Nothing Const sKey3 = "HKCU\Software\PDFCreator\Program\AutosaveDirectory" oWSH3.RegWrite sKey3, "\\localserverpath\FolderA\" & variableNumber & "\detail\", "REG_SZ" Set IEview = New InternetExplorerMedium IEview.Navigate 'exampleweb'
Now on Windows 10 the code above still works, but it only fills in the right Path in AutosaveDirectory (Target Folder) for one time.
For instance the first time of the loop the AutoSave path is
the second time of the loop the AutSave path is still
As in Windows 7 with the same VBA code it would be
The print monitor needs to be open otherwise the printing wouldn't work (this is only happening in Windows 10)
Can this automatization be done with the newest version of PDFCreator?
Has anyone done this with VBA yet?