PDA

View Full Version : Solved: Upload file into website



mohanvijay
12-11-2010, 12:23 PM
Hai all, I am trying to upload text file to website from Excel I write the code for login into website and select another tab but i can't set value (file path) for below HTML attribute
Input Type="file" id="file" name="file"
i search for solution and got answer that we can't set value for value for "file" element i also try below code


Dim brow As InternetExplorer
Dim hdoc As HTMLDocument
'login codes
'after login
hdoc.all.file.click ' this code opens filedialog
above code opens filedialogbox anyway to set path for file element or select programatically file in filedialogbox please help

mohanvijay
12-14-2010, 08:34 AM
Any help?....

mohanvijay
09-22-2011, 08:23 PM
found solution by using sendmessage API