IE Window Name
Hi, using Excel VBA to open an IE window. It's a really long story, bu I want to change the name of the window (that is, like one can do i javascript with window.name="ZZZ"). So this is what I'd like to do, but it doesn't work: Set ie = CreateObject("InternetExplorer.Application") ie.window.name = "ZZZ" any ideas on how I can change the window name from Excel?? I've looke through the properties associated with the InternetExplorer object, an none of them seem to help. Thanks very much -- geler ----------------------------------------------------------------------- gelert's Profile: http://www.excelforum.com/member.php...fo&userid=2699 View this thread: http://www.excelforum.com/showthread.php?threadid=47455 |
IE Window Name
Hello you may try Set IE = CreateObject("InternetExplorer.Application") IE.Visible = True IE.navigate "about:blank" Do Until IE.readyState = READYSTATE_COMPLETE DoEvents Loop IE.document.Title = "new name" Regards , michel -- michelxld ------------------------------------------------------------------------ michelxld's Profile: http://www.excelforum.com/member.php...o&userid=17367 View this thread: http://www.excelforum.com/showthread...hreadid=474556 |
All times are GMT +1. The time now is 06:27 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com