![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 1,290
|
I have in a sheet in the range A1:A2500 the symbols of several stocks from the Nasdaq.
Now I want a macro that link the follows: When I click on a symbol,the macro goes automatickly to the website http://finance.yahoo.com Can a macro do this link? Thanks. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 103
|
Hi,
Try using a hyperlink instead. Right-click on the cell/text you want the link to be activated from and in the address bar type the address of the site. Will |
|
|
|
|
|
#3 | |
|
Board Regular
Join Date: Mar 2002
Posts: 1,290
|
Quote:
http://finance.yahoo.com/q?s=MSFT&d=v1 so I don't have to type every time the symbol.Thanks in advance |
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 103
|
not sure about that one, sorry.
Will |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi
Why not create a web query which will refresh your figures without having to go to each individual website? Tom |
|
|
|
|
|
#6 | |
|
Board Regular
Join Date: Mar 2002
Posts: 1,290
|
Quote:
Have you any information? Many thanks |
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Symbol Last Trade Change Volume
MSFT 2:10pm 55.851 -0.479 -0.85% 22,575,800 I'm assuming that is the only information you really need from the website. You can create a web query based upon the URL & the symbol you provided. The query will return the information you choose and update at a frequency you choose as well. For instance: Column A A1 Contains the symbol MSFT B1 Could have Last Trade Time C1 Volume D1 Price E1 ect.... This query would refresh the information periodically on your spreadsheet without having to visit each individual website. Is that what you are wanting to do?? Tom |
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
I have to go.
If you'd like... E-Mail me the main URL and the list of symbols and I will create a very simple web query. Please note the values you want the query to retrieve from each website. Gotta Go TsTom@hotmail.com Tom |
|
|
|
|
|
#9 | |
|
Board Regular
Join Date: Mar 2002
Posts: 1,290
|
Quote:
Sorry. |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|