Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default updating historical prices log (macro?)

Hi there and thanks in advance for any help you can give me . . .

I am currently daily manually logging daily historical prices into an excel
worksheet.

I would like to make a macro that daily takes the values (only) from a
number of cells either automatically or at the push of a button and pastes
them into that daily logged worksheet.

If possible, I'd also like to make it so the most recent date is at the top.
In other words, I'd like it to be displayed in a reverse chronological order
down all the columns. Essentially, what I have been doing so far is to copy
and paste all previously entered data down 1 row and then input the new data.

I have looked at the discussion with subject: copy cells with a macro...
dated 3/11/2005 and I thinkit's a very similar idea, however, I can't seem to
translate it to work in my case, and I don't necessarily fully understand it.
I am pretty green I guess . . .

Thanks again,
Darren
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default updating historical prices log (macro?)

The easiest way to get what you want is with the macro recorder. Turn it on
with Tools | Macro Record new macro... Then, do whatever you want by hand
(to insert information at the top, select the row and use Insert...) and
turn off the recorder. In most cases XL will give you the necessary code.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
Hi there and thanks in advance for any help you can give me . . .

I am currently daily manually logging daily historical prices into an excel
worksheet.

I would like to make a macro that daily takes the values (only) from a
number of cells either automatically or at the push of a button and pastes
them into that daily logged worksheet.

If possible, I'd also like to make it so the most recent date is at the top.
In other words, I'd like it to be displayed in a reverse chronological order
down all the columns. Essentially, what I have been doing so far is to copy
and paste all previously entered data down 1 row and then input the new data.

I have looked at the discussion with subject: copy cells with a macro...
dated 3/11/2005 and I thinkit's a very similar idea, however, I can't seem to
translate it to work in my case, and I don't necessarily fully understand it.
I am pretty green I guess . . .

Thanks again,
Darren

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
How to Retrieve Historical Stock Prices? Robert K Excel Discussion (Misc queries) 8 August 24th 10 04:51 PM
Source of historical intraday stock prices? [email protected] Excel Discussion (Misc queries) 0 May 23rd 08 11:15 PM
updating prices for a line chart [email protected] Excel Discussion (Misc queries) 7 June 12th 07 06:20 PM
Historical Stock Prices in Excel [email protected] Excel Discussion (Misc queries) 1 February 11th 06 02:47 AM
Spreadsheet Historical Prices for European Stocks Ricardo Rodrigues Excel Worksheet Functions 3 March 29th 05 12:27 AM


All times are GMT +1. The time now is 07:15 AM.

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

About Us

"It's about Microsoft Excel"