MS-Excel-Rookie
New Member
- Joined
- Aug 6, 2010
- Messages
- 3
The purpose of the Excel Spreadsheets is to contain the Formulas for creating the products that the company sells. Production Users will enter information such as Compound Names, Lot Numbers, and amounts (weights) of each compound that is to be used. The Spreadsheet has the appropriate formulas to do the proper checking, and VB Code that will verify that the Lot Number entered contains the appropriate compound.
The same VB Code is able to work for all of the Spreadsheets, since they all have the same relative structure (each row is formatted the same way, although not all of the Spreadsheets have the same number of rows). This will result in numerous Spreadsheets that all contain the same VB Code (over 20 so far, and over 1500 expected by the end of the project).
Is there any way for all of the Spreadsheets to share the VB Code? I can only imagine that Maintenance of the VB Code will be come a nightmare over time if each sheet requires its own copy.
<!-- / message --><!-- sig -->The same VB Code is able to work for all of the Spreadsheets, since they all have the same relative structure (each row is formatted the same way, although not all of the Spreadsheets have the same number of rows). This will result in numerous Spreadsheets that all contain the same VB Code (over 20 so far, and over 1500 expected by the end of the project).
Is there any way for all of the Spreadsheets to share the VB Code? I can only imagine that Maintenance of the VB Code will be come a nightmare over time if each sheet requires its own copy.