Macro to update cells in one document based on another identical document?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,

I have an idea and want to know if anyone help me with it or give me a better way to do it.

I have a document that has 4 sheets
Data1
Capacity1
Sales1
Sold out1

(there are other sheets in the doc but these are the important ones.)

Now the problem I have is this document called "Sales Records" holds lots of macros that need to run all the time.
however I need more than one person to be able to use it at the same time.

So I was wondering if I could create a copy or two and use a macro to imput the changes done in the copy into the main document?

so heres what I was thinking.

Sales Record Main is the master
Sales Record1 is a copy

when the macro is run it looks at Sales Record Main sheets
Data1
Capacity1
Sales1
Sold out1
and compares them to
Sales Record1 sheets
Data1
Capacity1
Sales1
Sold out1

if any data in Sales record Main is different it updates it with the data from sales record1

any ideas how I could do this, if it would work and if there is a beter way to do it?

thanks

Tony
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,214,591
Messages
6,120,432
Members
448,961
Latest member
nzskater

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