Excel - updating records by comparision - VBScript/Macros

sowmyareddy

New Member
Joined
Apr 1, 2019
Messages
8
  • Hi,

    Can someone please provide me a VBScript code for my below requirement.

    I have a master tracking document that I use to record project information. My client sends me an updated schedule each week which may (or may not) have additional stores on it and some of the details of the stores may have changed. I need a macro to capture these changes from the source spreadsheet (the one the client sends) and update the master tracker. The master tracker has a lot of additional columns of data that I add in myself about each project so I don't want to lose this information. The macro needs to see if the store on the source sheet is already on the master tracker and if it is then it needs to check to see. If the store isn't on the master tracker then it needs to be added. Also, delete any rows from the master tracker if they have now been removed from the source workbook.

    Master Spreadsheet

    Column A - Member
    Column B - Description
    Column C - Structure-1
    Column D - Structure-2
    Column E - Structure-3
    Column F - Currency
    Column G - Geography
    Column H - Business


    Source Spreadsheet

    Column K - Member
    Column L - Description
    Column M - Structure-1
    Column N - Structure-2
    Column O - Structure-3
    Column P - Currency
    Column Q - Geography
    Column R - Business


    Quick response would be appreciated!

    Thanks in Advance.

    Regards,
    Sowmya​
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,216,058
Messages
6,128,532
Members
449,456
Latest member
SammMcCandless

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