Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Excel VBA to transfer info to an Uplod File DialogBox

Status
Not open for further replies.

chrisexcel

Programmer
Jan 26, 2011
1
US
Hi All,

I am using Excel VBA to access the Internet. I have no problem opening an IE page and going to the appropriate pages as needed. The problem is that I need to upload a file to this particular website. After the code executes the click of the "Browse" button the Upload Dialog Box appears.

I have tried SendKeys thereafter in placing the file and its path in the textbox and tabbing to the open button. However this does not work. I get the message "Microsoft Office Excel is waiting for another application to complete OLE action." and the code stalls.

Does anyone have a work around that or can give a VBA code example. Ironically I am able to use SendKeys to the download dialog box but obviously the two are different. Please help!

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top