Get existing IE via VBA

后端 未结 5 1282
醉梦人生
醉梦人生 2020-12-10 07:48

My goal is to scrape data off multiple webpages on the same site into Excel. I have these pages open in tabs within IE8. I have no other IE windows open.

I have trie

5条回答
  •  猫巷女王i
    2020-12-10 08:06

    I figured it out! Thanks to this thread, the following works:

                   AppActivate " - Microsoft Internet Explorer provided by [my company]"
                   AppActivate " - Microsoft Internet Explorer provided by [my company]"
    

    And it is able to bring forward any site, no matter the naming scheme. Granted, it looks clumsy, but I can't complain if it works.

    Happy day!

提交回复
热议问题