简体   繁体   English

在IE11的同一当前页面中打开弹出窗口

[英]Open pop up in the same, current page in IE11

Is there a way to use VBA to force a pop up (generated by clicking on a link on a website) to open in the same window of the website on which your VBA code clicks the link? 有没有一种方法可以使用VBA强制弹出(通过单击网站上的链接生成)在您的VBA代码单击该链接的网站的同一窗口中打开? So the pop up actually replaces the original website. 因此,该弹出窗口实际上替代了原始网站。

@Bond taught me a workaround here - instead of clicking on the link that will result in the pop-up, you can always just re-navigate to this link by referencing its href (as in the source code of the original page you'd click on). @Bond在这里教给我一种解决方法-无需单击将导致弹出窗口的链接,您始终可以通过引用其href来重新导航至该链接(如原始页面的源代码一样)点击)。 This keeps the window the same but changes the page to display the pop-up 这样可以使窗口保持不变,但更改页面以显示弹出窗口

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM