Lonkero,
I know your url probably should have worked but I couldn't get it to.

Richard,
Thanks for pointing me to formatnumber it is just what I needed.

here's the code that I have so far
code:
 Break On

$ID = 'name'

$PW = 'pwd'

do
?'Enter 30 Year Fixed Conforming Rate>' gets $rte44
until $rte44
do
?'Enter 30 Year Fixed Conforming Points>' gets $pts44
until $pts44
do
?'Enter 30 Year Fixed Conforming APR (Enter X to auto calculate)>' gets $apr44
until $apr44
do
?'Enter 30 Year Fixed Conforming lock>' gets $lck44
until $lck44

if $apr44 = 'x'
$apr44 = ''
else
$apr44=formatnumber($apr44,3)
endif


$rte44=formatnumber($rte44,3)
$pts44=formatnumber($pts44,3)

:time
do
?'Please enter the update frequency for today (5,10,15)>' gets $sleep
until $sleep

if $sleep <> 5
if $sleep <> 10
if $sleep <> 15
?'Updates can only be preformed at 5, 10, or 15 min intervals please re-enter!'
goto time
endif

:again



$URL = "https://169.218.223.168/script/lb_login.asp"

$IE = CreateObject("InternetExplorer.Application")

$IE.Visible = 1

$IE.Navigate($URL)

While $IE.Busy and $IE.ReadyState <> 4 and @ERROR = 0 Loop

$IE.Document.getelementbyid("custid").Value = $ID

$IE.Document.getelementbyid("pw").Value = $PW

$IE.Document.lblogin.posting.value = 1

$IE.Document.lblogin.Submit()

$IE.Document.getelementbyid("4004rate").Value = "$rte44"
$IE.Document.getelementbyid("4004points").Value = "$Pts44"
$IE.Document.getelementbyid("4004apr").Value = "$apr44"
$IE.Document.getelementbyid("4004lock").Value = "$lck44"

$IE.document.fixrates.posting.value = 1
$IE.document.fixrates.submit()

sleep 2

$url2='https://169.218.223.168/script/adjrates.asp'


$IE.Navigate($URL2)

$val = 2

sleep 2

$IE.Document.getelementbyid(4006index)."option value" = $val;dropdown box

$IE.document.adjrates.posting.value = 1
$IE.document.adjrates.submit()

if $sleep=5
sleep 300
endif
if $sleep=10
sleep 600
endif
if $sleep=15
sleep 900
endif

call var_rate.kix

if @TIME <> '4:*:*'
goto again
endif

Exit 0

My next problem is how to select an option from the dropdown box.
I've tried
code:
 $IE.Document.getelementbyid(4006index).option = $val
$IE.Document.getelementbyid(4006index).value = $val

but none will access any of the options. Any ideas

here's the segment of the html that defines it

code:
 <td width="86"> 
<select name="4006index" size="1" onBlur="onBlur_Checkvalue(this,8)">

<option value="1" selected >1Yr TBill</option>

<option value="2" >3Yr TBill</option>

<option value="3" >COFI</option>

<option value="4" >LIBOR</option>

<option value="5" >Other</option>

</select>
</td>

I've tried

[ 18. October 2003, 19:03: Message edited by: jacks73 ]