Hey guys,

I'm navigating a webpage through the IE Application object.

At one point, I have the code send a .Click command to a button that pops a window open in a new tab.

I'm not sure how I can then go about controlling that new tab.

I'd like to do it one of two ways (whichever is easier):

1. Close the original tab, and "take control" of the 2nd tab so that further code sends commands to it.

or

2. Pull the URL of the 2nd tab once it fully loads, then close the 2nd tab and continue controlling the first tab.

Any help is appreciated!

Thanks!
Matt