Hi All

I need to alter some previously changed source code in a number of .htm files and in order to do it in the most efficient way I need to find the exisiting source code and then replace it. I have a piece of code given to me by mikeyc1204 in another thread.

If you want or need to read the previous discussion and how I access and change the file the thread is here

http://www.vbforums.com/showthread.php?t=348139

Since I have started using this code I have discovered an error in my logical/mathematical calculations and so now I need to go back over a couple of hundred files and change the figures I inserted to different ones.

As the numbers I have inserted into the source code are different, when I search for the source code that I want to alter I have been trying to use the wildcard (*) symbol but the code isn't finding the section of source code.

The section of source code that I am looking for is -

<br>Winning Speed Figure&nbsp;&nbsp;&nbsp;&nbsp;" & "*" & "<br> Comments -</p>

and I want to replace it with

<br>Winning Speed Figure&nbsp;&nbsp;&nbsp;&nbsp;" & winning_speed_figure & "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" & race_mph & "&nbsp;mph<br> Comments - </p>

The problem I am finding is that the code isn't finding the section of the source code I am looking for because of the wildcard part. I am sure of this as I have 'fiddled' about with it a found the other bits each side of the wildcard section (& "*" &) and so the basic code that mikeyc1204 gave me is still working perfectly. It is the bit that I've changed that isn't!

Can anyone see where I am going wrong?

Thanks in advance for the help.

Regards

-Paul