Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Stock prices into excel

I would really appreciate if someone could help me with some code that makes
excel import stock prices from a home page on an intra-daily basis, e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a cell in
the sheet is larger/less than a specific trigger which always is a number. It
is important that the pop-up always will be seen, i.e. so it does not lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Stock prices into excel

I saw that there was a built-in function in Excel getting stock quotes from
MSN, but it did not work with Swedish stocks. Is it possible to do the same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up in
green and dn in red that change with each trade. Very flexible on what to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in message
...
I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis, e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a cell
in
the sheet is larger/less than a specific trigger which always is a number.
It
is important that the pop-up always will be seen, i.e. so it does not lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Stock prices into excel

Have you tried Yahoo? What are some tickers for the stocks?

goto

and look in the files section. There are several free files.
I have a couple of free files under author donalb36

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
I saw that there was a built-in function in Excel getting stock quotes from
MSN, but it did not work with Swedish stocks. Is it possible to do the
same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up in
green and dn in red that change with each trade. Very flexible on what to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in message
...
I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number.
It
is important that the pop-up always will be seen, i.e. so it does not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Stock prices into excel

how do I go to ???

One stock ticker would be ATCO A

"Don Guillett" wrote:

Have you tried Yahoo? What are some tickers for the stocks?

goto

and look in the files section. There are several free files.
I have a couple of free files under author donalb36

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
I saw that there was a built-in function in Excel getting stock quotes from
MSN, but it did not work with Swedish stocks. Is it possible to do the
same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up in
green and dn in red that change with each trade. Very flexible on what to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in message
...
I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number.
It
is important that the pop-up always will be seen, i.e. so it does not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Stock prices into excel

click on it send the email

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
how do I go to
???

One stock ticker would be ATCO A

"Don Guillett" wrote:

Have you tried Yahoo? What are some tickers for the stocks?

goto

and look in the files section. There are several free files.
I have a couple of free files under author donalb36

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
I saw that there was a built-in function in Excel getting stock quotes
from
MSN, but it did not work with Swedish stocks. Is it possible to do the
same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is
to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up
in
green and dn in red that change with each trade. Very flexible on what
to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in
message
...
I would really appreciate if someone could help me with some code
that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it
is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number.
It
is important that the pop-up always will be seen, i.e. so it does
not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Stock prices into excel

You (or I could build from here)
http://uk.finance.yahoo.com/q/cq?d=v1&s=atco+a

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
I saw that there was a built-in function in Excel getting stock quotes from
MSN, but it did not work with Swedish stocks. Is it possible to do the
same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up in
green and dn in red that change with each trade. Very flexible on what to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in message
...
I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number.
It
is important that the pop-up always will be seen, i.e. so it does not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas




  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Stock prices into excel

Ok, I had a look, but the thing is that there are some reasons to why I need
it in Excel and cannot have it in a portfolio on the internet.

Is it possible that you could help me to loop the code I found so it works
on more stocks and to get it to refresh every 5 minutes or so?

I would really appreciate it!

Andreas

"Don Guillett" wrote:

You (or I could build from here)
http://uk.finance.yahoo.com/q/cq?d=v1&s=atco+a

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
I saw that there was a built-in function in Excel getting stock quotes from
MSN, but it did not work with Swedish stocks. Is it possible to do the
same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up in
green and dn in red that change with each trade. Very flexible on what to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in message
...
I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number.
It
is important that the pop-up always will be seen, i.e. so it does not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas




  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Stock prices into excel


Contact me privately for custom work
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
Ok, I had a look, but the thing is that there are some reasons to why I
need
it in Excel and cannot have it in a portfolio on the internet.

Is it possible that you could help me to loop the code I found so it works
on more stocks and to get it to refresh every 5 minutes or so?

I would really appreciate it!

Andreas

"Don Guillett" wrote:

You (or I could build from here)
http://uk.finance.yahoo.com/q/cq?d=v1&s=atco+a

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...
I saw that there was a built-in function in Excel getting stock quotes
from
MSN, but it did not work with Swedish stocks. Is it possible to do the
same
with yahoo?

Is there any solution for my 2nd question?

Thanks

/Andreas

"Don Guillett" wrote:

I have set up similar projects for clients but an easy way to do it is
to
goto
http://finance.yahoo.com/
my portfoliosset up one. You get 15 minute delayed quotes showing up
in
green and dn in red that change with each trade. Very flexible on what
to
show.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" <Andreas
wrote in
message
...
I would really appreciate if someone could help me with some code
that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it
is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number.
It
is important that the pop-up always will be seen, i.e. so it does
not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas





  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Stock prices into excel


I found this code on this website, it works quite well except that I do not
know how to get it to update regularly, everyt 5 minutes or so, and how I
apply this code when I want to have more than one stock. Now, when I run the
macro it only updates one stock while the second stock is left blank.
Someone?:


Rows("2:65536").Select
Selection.ClearContents
Range("A1").Select

With
ActiveSheet.QueryTables.Add(Connection:="URL;http://finance.yahoo.com/q?s=" &
Range("A1"), Destination:=Range("A2"))
.Name = "q?s=" & Range("A1")
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = """table1"",""table2"""
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With



"Andreas Ingo" wrote:

I would really appreciate if someone could help me with some code that makes
excel import stock prices from a home page on an intra-daily basis, e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a cell in
the sheet is larger/less than a specific trigger which always is a number. It
is important that the pop-up always will be seen, i.e. so it does not lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas



  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Stock prices into excel


This code would have to be modified to loop from a list of tickersdelete
the defined names created each timeand also be modified to use ONTIME to
update when desired. Did you try my free file or the yahoo portfolio I
suggested.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...

I found this code on this website, it works quite well except that I do
not
know how to get it to update regularly, everyt 5 minutes or so, and how I
apply this code when I want to have more than one stock. Now, when I run
the
macro it only updates one stock while the second stock is left blank.
Someone?:


Rows("2:65536").Select
Selection.ClearContents
Range("A1").Select

With
ActiveSheet.QueryTables.Add(Connection:="URL;http://finance.yahoo.com/q?s="
&
Range("A1"), Destination:=Range("A2"))
.Name = "q?s=" & Range("A1")
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = """table1"",""table2"""
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With



"Andreas Ingo" wrote:

I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis, e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a cell
in
the sheet is larger/less than a specific trigger which always is a
number. It
is important that the pop-up always will be seen, i.e. so it does not lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas


  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Stock prices into excel

how do I go to ???

One stock ticker would be ATCO A


"Don Guillett" wrote:


This code would have to be modified to loop from a list of tickersdelete
the defined names created each timeand also be modified to use ONTIME to
update when desired. Did you try my free file or the yahoo portfolio I
suggested.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...

I found this code on this website, it works quite well except that I do
not
know how to get it to update regularly, everyt 5 minutes or so, and how I
apply this code when I want to have more than one stock. Now, when I run
the
macro it only updates one stock while the second stock is left blank.
Someone?:


Rows("2:65536").Select
Selection.ClearContents
Range("A1").Select

With
ActiveSheet.QueryTables.Add(Connection:="URL;http://finance.yahoo.com/q?s="
&
Range("A1"), Destination:=Range("A2"))
.Name = "q?s=" & Range("A1")
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = """table1"",""table2"""
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With



"Andreas Ingo" wrote:

I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis, e.g.
every 5th or 10th minute. I do not want to have time series data, it is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a cell
in
the sheet is larger/less than a specific trigger which always is a
number. It
is important that the pop-up always will be seen, i.e. so it does not lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas



  #13   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Stock prices into excel

That's an email address, see the "at" sign? I imagine if you send an email,
you'd receive information on how to access the group.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Andreas Ingo" wrote in message
...
how do I go to ???

One stock ticker would be ATCO A


"Don Guillett" wrote:


This code would have to be modified to loop from a list of tickersdelete
the defined names created each timeand also be modified to use ONTIME to
update when desired. Did you try my free file or the yahoo portfolio I
suggested.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...

I found this code on this website, it works quite well except that I do
not
know how to get it to update regularly, everyt 5 minutes or so, and how
I
apply this code when I want to have more than one stock. Now, when I
run
the
macro it only updates one stock while the second stock is left blank.
Someone?:


Rows("2:65536").Select
Selection.ClearContents
Range("A1").Select

With
ActiveSheet.QueryTables.Add(Connection:="URL;http://finance.yahoo.com/q?s="
&
Range("A1"), Destination:=Range("A2"))
.Name = "q?s=" & Range("A1")
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = """table1"",""table2"""
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With



"Andreas Ingo" wrote:

I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it
is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number. It
is important that the pop-up always will be seen, i.e. so it does not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas





  #14   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Stock prices into excel

Probably, the most sensible way to do it is to capture data for each stock on
a ea separate sheet (that's how I do it). make the sheet name the name of
the stock. You can refresh all data in all sheets easily. Take a look at
this resource:
http://www.cpearson.com/excel/OnTime.aspx

Regards,
Ryan--

It can get very technical. If you want more information email me at:
(remove the xxx part).

--
RyGuy


"Jon Peltier" wrote:

That's an email address, see the "at" sign? I imagine if you send an email,
you'd receive information on how to access the group.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. -
http://PeltierTech.com
_______


"Andreas Ingo" wrote in message
...
how do I go to ???

One stock ticker would be ATCO A


"Don Guillett" wrote:


This code would have to be modified to loop from a list of tickersdelete
the defined names created each timeand also be modified to use ONTIME to
update when desired. Did you try my free file or the yahoo portfolio I
suggested.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Andreas Ingo" wrote in message
...

I found this code on this website, it works quite well except that I do
not
know how to get it to update regularly, everyt 5 minutes or so, and how
I
apply this code when I want to have more than one stock. Now, when I
run
the
macro it only updates one stock while the second stock is left blank.
Someone?:


Rows("2:65536").Select
Selection.ClearContents
Range("A1").Select

With
ActiveSheet.QueryTables.Add(Connection:="URL;http://finance.yahoo.com/q?s="
&
Range("A1"), Destination:=Range("A2"))
.Name = "q?s=" & Range("A1")
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = """table1"",""table2"""
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With



"Andreas Ingo" wrote:

I would really appreciate if someone could help me with some code that
makes
excel import stock prices from a home page on an intra-daily basis,
e.g.
every 5th or 10th minute. I do not want to have time series data, it
is
enough if one cell is updated each time with the current price.

Furthermore I would like excel to give a pop-up/notice every time a
cell
in
the sheet is larger/less than a specific trigger which always is a
number. It
is important that the pop-up always will be seen, i.e. so it does not
lay
behind other windows.

I would really appreciate if someone could help me with this.

/Andreas





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
function to download stock prices into Excel with 2007 newfy Excel Worksheet Functions 1 March 6th 10 11:36 PM
how to get stock prices Thomas70 Excel Discussion (Misc queries) 0 May 21st 09 09:13 PM
Historical Stock Prices in Excel [email protected] Excel Discussion (Misc queries) 1 February 11th 06 02:47 AM
how can I update stock prices daily into excel tbwillis Excel Discussion (Misc queries) 2 January 6th 06 03:45 AM
Downloading stock prices CMAR Excel Programming 4 August 16th 03 08:08 PM


All times are GMT +1. The time now is 05:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"