View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ramthebuffs[_25_] Ramthebuffs[_25_] is offline
external usenet poster
 
Posts: 1
Default 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