C
chris_j_adams
Hi,
I'm trying to pull some values out of a table in IE using Excel 97.
This works:
IeApp.Document.forms("form").elements("rates[AUD]").Value
This doesn't:
nm = "rates[" & ccy & "]"
IeApp.Document.forms("form").elements(nm).Value
Can anyone shed any light on why it may not work please?
Btw, the code I'm trying to extract it from appears below.
Many thanks in advance for any advice/help.
Regards,
Chris Adams
<table class="layout">
<tr>
<td class="layout" valign="top">
<table>
<tr>
<th>Ccy</th>
<th>1 GBP =</th>
</tr>
<tr>
<td>AUD</td>
<td><input type="text" class="rate"
name="rates[AED]"
value="2.501" /></td> <==VALUE
I WANT
</tr>
I'm trying to pull some values out of a table in IE using Excel 97.
This works:
IeApp.Document.forms("form").elements("rates[AUD]").Value
This doesn't:
nm = "rates[" & ccy & "]"
IeApp.Document.forms("form").elements(nm).Value
Can anyone shed any light on why it may not work please?
Btw, the code I'm trying to extract it from appears below.
Many thanks in advance for any advice/help.
Regards,
Chris Adams
<table class="layout">
<tr>
<td class="layout" valign="top">
<table>
<tr>
<th>Ccy</th>
<th>1 GBP =</th>
</tr>
<tr>
<td>AUD</td>
<td><input type="text" class="rate"
name="rates[AED]"
value="2.501" /></td> <==VALUE
I WANT
</tr>