Link to home
Start Free TrialLog in
Avatar of Peter Groves
Peter Groves

asked on

vba code changes html string from (HTMLdoc.all.SQLuser.Value = "myuseridxxx") to (HTMLdoc.all.SQL -User.Value = "myuseridxxx"

I'm trying to insert logon info to access a website via navigate IExplorer!

I tried putting brackets in but it doesn't find the HTML text!
>code>
HTMLdoc.all.SQL-user.Value
HTMLdoc.all.SQL -User.Value     ( There is a space between the L and the -)
HTMLdoc.all.[SQL-user].Value
>/code>

The HTML code is :
<code>
<input type="text" id="SQL-user" name="SQL-user" tabindex="1" size="12" maxlength="12"/>
</code>


Thanks


Pete
ASKER CERTIFIED SOLUTION
Avatar of Peter Groves
Peter Groves

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial