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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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