Hi Leith,
Here is what happends After the code you gave me to wait on the "ctl00$MainContent$Button2" to appear.
MainContent$Button2 = Export to Excel
This button is used to export the data to excel it shows up after the data is ran on the web page.I used your code to wait till it appears to click it in VBA
After the Export button is clicked A File Download Dialog Box appears. Looks like a windows Type dialog box.
I'm currently trying to use the Send Keys to hit the Save Button on this dialog. I'd like a better way as the send keys wont work consistently.
After the send keys manage to hit the Save button Another box opens "Save A's" looks like a regular excel save as box.
So what I'm looking for is a way to hit the save button with out using send keys and save the file to a folder on my desktop.
Thanks again for your help...
Here again is the complete code.
Bookmarks