Replace function in vbscript

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
Posts: 1
Joined: Fri Aug 24, 2012 6:35 am

Replace function in vbscript

Post by MitchS » Fri Aug 24, 2012 6:50 am

I'm a complete newby in vbscript. The formula below comes from a horse racing program in which there is no longer support. I've managed to get by with the basic functions within the program.The below formula brings back a numerical value of anywhere from 0 to 100 or so. I want to add script to the formula below to REPLACE a zero "0" value to a numerical value of 99.#hMIN("ppConvFinalTime", 0, 90, 0, 50, 0, 1, 1000, 0, 10000)Thanks for any help.