Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling JavaScript from VBA.

Status
Not open for further replies.

NiPo

Programmer
Apr 12, 2007
1
0
0
US
OK. So I've backed myself into a corner and require some expert assistance....

I have a RichText editor coded in HTML/JavaScript embedded into an excel spread sheet via a userform that contains a webBrowser.....

In VBA I can access the fields in the HTML with:

theText = WebBrowser.Document.getElementById("RTEDemo").rte1.value

But what I need to do is execute some JavaScript functions within the HTML / webBrowser.

Any advice?
Many thanks in advance.
NiPo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top