Clicking a web page button with an Excel macro

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
What to do is use Excel connection wizard to connect to the website (rather than have a macro access IE). You enter your username and password then you can check an arrow to download the table. Now all you need to do is run the macro recorder while refreshing the table and you can apply the code to your button ;)
 
Upvote 0
I using XP Pro with Office 2000. I've never used the connection wizard. Is it even available in Excel 2000?
After clicking on the "download spreadsheet" I want the macro to do a copy of B2:B34).

Bob
 
Upvote 0
I'm using Office 2000. From an Excel workbook I've tried Data/Get External Data/New Web Query (entering the web page as http://finance.yahoo.com/q/hp?s=GOOG). It always returns the error "Unable to open http://finance.yahoo.com/q/hp?s=GOOG. Cannot locate the Internet server or the proxy server" even though I can get to the web page by putting that URL in a new (Firefox) browser tab. Is there something wrong with Excel 2000?

Is there another way I can get the data via Excel macro?

Thank you for your suggestion Dave3009.

Anybody?

Bob
 
Upvote 0
try this:

Code:
ie.Navigate "javascript:buttonSubmit('OK')"
u = "[URL]http://www.url[/URL]ofthepageiwanttogo.com"
    ie.Navigate u
 
Upvote 0

Forum statistics

Threads
1,215,062
Messages
6,122,925
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top