ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Execute javascript help (https://www.excelbanter.com/excel-programming/354446-execute-javascript-help.html)

Ramthebuffs[_25_]

Execute javascript help
 

I'm using excel to open IE and send some javascript commands, but I've
come up against a little trouble and it seems simple, but I havent
really worked with this before so I was thinking somebody might have
experience.

Call myIE.document.frames(2).execScript(" 'code here'
"(),"Javascript")

is what I've been using, but the next Jscript I've come up against is a
little different. When I scroll over it, this is what the browser tells
me it is--- javascript:GoToMarket('2901',false,'HFL');

How do I put this into the above command in vba? Also, is there an
easy way to determine which frame you are in?

Thanks in advance


--
Ramthebuffs
------------------------------------------------------------------------
Ramthebuffs's Profile: http://www.excelforum.com/member.php...o&userid=16429
View this thread: http://www.excelforum.com/showthread...hreadid=516753



All times are GMT +1. The time now is 09:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com