Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default web and excel find text string...

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default web and excel find text string...

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

"sal21" wrote in message oups.com...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search, find or lookup defined text in text string zzxxcc Excel Worksheet Functions 9 September 6th 07 09:37 PM
Excel -find records which DO NOT contain a particular text string JackBuff Excel Discussion (Misc queries) 5 May 23rd 06 05:40 PM
Excel - Find & Replace text in a string bklim Excel Programming 5 June 14th 05 07:37 AM
Excel - Find & Replace text in a string bklim Excel Worksheet Functions 1 June 14th 05 06:42 AM
backwards find function to find character in a string of text Ashleigh K. Excel Programming 1 January 14th 04 04:36 PM


All times are GMT +1. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"