Use The VBA To: Automatically copy and paste values in excel, to create historical table

Corried

Board Regular
Joined
Dec 19, 2019
Messages
217
Office Version
  1. 2019
Platform
  1. Windows
  2. Web
Excel Fans
I have a situation
Every day I received data from excel web into spreadsheet #1, columns "A2" & "B2" see example

DateValue
Tue-17-20194567.89
Now. I want excel to automatically copy both cells reference and create; "Date & Price" History on spreadsheet # 2. See example

DateValue
Fri-13-20195147.23
Mon-16-20192578.05
Tue-17-20194567.89

Thanks for your reply. I forget to mention that data is automatically is "Plugin". How can VBA support my concerns?
 
Remember Private Sub Workbook_SheetChange code needs to go under "ThisWorkbook". The other code can be in it's on module (Module1). Insert > Class Module

Thank you QuietRiot. Due to work constraints, was unavailable to chat with you as the Christmas holiday is here. "Happy Holiday Mate."

Your suggestions, were on the point and I really appreciate it a lot.

I have one more request at this time. One piece of the puzzle or adjustment to complete the whole picture.

Before I received your support and your guidance, to make life much easier...

I manually copied each country historical data from the "website" and paste it to each country worksheet or tab.

The problem here is this:
Each country historical data commence year, have started differently from other countries.

My concerns are:
How can I paste updated data, "UNDER", past historical data that have different cell and row numbers?

Please see the example of (3) countries below...

Snap.PNG
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Mr. QutetRiot. Good day.

Will like to take the opportunity to wish you and your love-ones, a happy New Year blessing, for 2020 and beyond.
And thank you for taking the time, patience and love you have given to me and by extension, all you have interacted with on this forum etc.

I am not sure if you have got the opportunity to view the last piece of the puzzle to complete the process.
I don't want to take you for granted all that you have done. Without this piece, I can't move forward effectively.

What do you want me to do?

Thanks in advance
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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