IE Automation

F

fi.or.jp.de

Hi All,

I have small automation from excel to web.

I have no problem in logging into the web & input some values in text
box.

But there is browse option, i need input the path in the text box.
I am not able to input.

''''''''''HTML Source CODE''''''''''''''''''

<label>Spreadsheet:</label>
<input type="file" name="upload" size="25" value=""
id="spreadsheet_upload"/>


''''''''''HTML Source CODE''''''''''''''''''

So, I was using

set Spreads = ie.document.getelementsbyname("upload")
SpreadS.item(0).value = "D:\new folder\abc.xls"
 
N

norie

Hi All,

I have small automation from excel to web.

I have no problem in logging into the web & input some values in text
box.

But there is browse option, i need input the path in the text box.
I am not able to input.

''''''''''HTML Source CODE''''''''''''''''''

<label>Spreadsheet:</label>
    <input type="file" name="upload" size="25" value=""
id="spreadsheet_upload"/>

''''''''''HTML Source CODE''''''''''''''''''

So, I was using

set Spreads = ie.document.getelementsbyname("upload")
SpreadS.item(0).value = "D:\new folder\abc.xls"

I'm sorry but as far as I know it just isn't possible to enter a value
into that type of input, and believe me I've tried.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IE automation 6
IE Automation 3
++ Web automation 2
web automation - repost 0
Button with no name IE automation 4
filling forms in IE from excel sheet 1
IE Automation - checkbox 7
web urgent 0

Top