Hi all,
I have a VBA macro that copies a HTML element from a website in an already open instance of IE; the macro operates once every minute. It seems like nearly every time the macro triggers and copies the element from the website, a new instance of IE is created in the task manager. I'm confused as to why this would happen as the code is designed to only interrogate the already open webpage and therefore there are no new pages being opened. I'm concerned about this as with each instance, the memory usage of IE goes up and as I will have my macro running for hours at a time, I imagine this could cause problems with respect to computer performance.
I don't want to be killing IE each time the code runs and then re-opening it as the whole idea behind interrogating an existing page was so that I don't lose the entries on that page, as well as the speed of operation. So, other than this, is there a way to fix this issue?
Many thanks!
A
I have a VBA macro that copies a HTML element from a website in an already open instance of IE; the macro operates once every minute. It seems like nearly every time the macro triggers and copies the element from the website, a new instance of IE is created in the task manager. I'm confused as to why this would happen as the code is designed to only interrogate the already open webpage and therefore there are no new pages being opened. I'm concerned about this as with each instance, the memory usage of IE goes up and as I will have my macro running for hours at a time, I imagine this could cause problems with respect to computer performance.
I don't want to be killing IE each time the code runs and then re-opening it as the whole idea behind interrogating an existing page was so that I don't lose the entries on that page, as well as the speed of operation. So, other than this, is there a way to fix this issue?
Many thanks!
A