web and excel find text string...

S

sal21

I have this page in html...

How to find the value 1 and 4 in:

<td WIDTH="25%" ALIGN="center"><font style="font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 10px; font-weight:
bold">&nbsp;Pagine&nbsp;1&nbsp;di&nbsp;4&nbsp;</font></td>

and to find the value 308:


<td align="center" colspan="11" class="INFO">Totale fidi individuati:
308<br></td>

after store the value founded in var_1, var_4 and var_308
 
T

Tim Williams

Where is the page?
Loaded in a browser?
In a text file?
The content of a variable?

How to "find" the value is a different question.
Are you always getting the value from the same table cell? If so and the page is loaded in IE then you can get a reference to the
cell and then to its innerHTML or innerText property. From there you could parse the value to extract the values.

Tim
 

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

Top