TheRedCardinal
Active Member
- Joined
- Jul 11, 2019
- Messages
- 252
- Office Version
- 365
- 2021
- Platform
- Windows
I'm building a Macro for a project. It's going really well but quite a learning curve.
The project has about 20 outputs. The first steps for all 20 are the same, but at a certain point the process diverges for each, mainly in terms of producing a Pivot Table with different fields (but all from the same source data), and then leading to a final output - either a report, or a CSV file.
What I realised was if I write those common scripts, then save each output model as a different spreadsheet, then I can't deliver updates to them all without editing 20 spreadsheets.
I have read bits about macros being available across multiple workbooks but haven't quite figured out yet how that works, especially as several team members need access to the files.
I was thinking of having my final report templates all saved in a separate workbook and using 3 named cells to identify which one to copy over into the active workbook; but I Still have issues around the pivot table and formatting.
Any suggestions?
The project has about 20 outputs. The first steps for all 20 are the same, but at a certain point the process diverges for each, mainly in terms of producing a Pivot Table with different fields (but all from the same source data), and then leading to a final output - either a report, or a CSV file.
What I realised was if I write those common scripts, then save each output model as a different spreadsheet, then I can't deliver updates to them all without editing 20 spreadsheets.
I have read bits about macros being available across multiple workbooks but haven't quite figured out yet how that works, especially as several team members need access to the files.
I was thinking of having my final report templates all saved in a separate workbook and using 3 named cells to identify which one to copy over into the active workbook; but I Still have issues around the pivot table and formatting.
Any suggestions?