• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VB Macro to hardcode filepath in a IE popup dialog window

rahum123

New Member
Hi all,

I need to enter filepath from excel coloumn in dialog box , this dialog box is popup window on click of browse button in a webpage.
I am able to fetch filepath value from excel in VB and am able to click browse button but can't enter this filepath.
Cursor is blinking on FilePath in popup window but am not able to enter value in it.

Code I tried :-
IEBrowser.document.getElementById("file").value= "C:\abc.txt
IEBrowser.document.getElementById("file").Click

May I know if you can help me.

Regards
Rahul
 
Hi Marc,

I have already tried sendkeys like this :-
SendKeys (filepath)
SendKeys ("{Enter}")

but its not working.
Any other suggestion.

Regards
Rahul
 
Back
Top