(Solved) – Switch back to word after opening Chrome browser

(solved)-–-switch-back-to-word-after-opening-chrome-browser

I have VBA code for opening a web-page, it automatically downloads a file that word will need.

What I am unable to do is within the VBA code switch back to the word document after Chrome is opened.

I’ve tried these three:

AppActivate "Microsoft Word"
Windows(docname).Activate
ActiveDocument.ActiveWindow.WindowState = wdWindowStateMaximize

Leave a Reply

Your email address will not be published. Required fields are marked *