I am doing some web scraping using excel vba.
At one point in my program my internet explorer instance opens an OpenFileDialog. I need to access this dialog and provide it with a filename. Is there a way to do this in vba?
My idea was to get the window handle (I’ve already done that) and then somehow get the object using the handle, but i cannot find a way to use the handle to access the window.
if you have the hWind of the dialag box, then the function
will allow you to send keys to the application with
more info here