I am trying to create a pdf from a report and then open file explorer with the report selected within explorer - user will then drag and drop the report to a third party web-site.
All went well.
However now file explorer opens as an icon in the taskbar - clicking on it opens the window will open with the correct file selected, but I have no idea why file explorer does not open
the window directly --- it had been doing so and I do not remember making any changes.
here's the code:
DoCmd.OutputTo acReport, stDocName, acFormatPDF, stOutPutFile, False
Shell "C:\WINDOWS\explorer.exe /n, /select, """ & stOutPutFile & " ", vbNormalFocus
Thanks Much!