Update data each time a new workbook is created

lac87

New Member
Joined
Mar 16, 2018
Messages
11
I work for an aircraft charter company and have a spreadsheet containing a database of weights of passengers who frequently fly with us (very simple - Column A: name, Column B: weight). Passengers are weighed each time they fly and their weight is recorded in a separate manifest workbook. A new manifest is created from a template file for each flight and the file name for the new workbook is "[Customer] [Date/s] [Destination/Route Airport Codes]" e.g. "John Citizen 220528 ABC" or "CompanyX 220528-31 ABC-DEF".

Each manifest has a separate worksheet for each leg of the flight, and passenger names and weights are recorded in the sheet with the leg they flew in. (E.g. FIFO shift changes where one crew travels to work and their details are recorded on a sheet named "Leg 1" and the crew returning home will have their details recorded in the sheet named "Leg 2".)

Is there a way to automatically (or with the click of a button) update the weight database each time a new manifest workbook is created?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,224,827
Messages
6,181,198
Members
453,022
Latest member
RobertV1609

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