on ‎2019 Dec 19 7:58 AM
HI Experts,
Would like to check if there is an existing blog here to Automate Distribution Template that includes updating the variable member like Cost Center in the Distribution template and also identifying the folder where the file will be saved via excel interface using macro button.
Thanks,
Joseph
Request clarification before answering.
In general you can replace native distribution function with vba code.
In your simple case without scheduling you can write code to:
1. Open template file
2. Replace value in some cell linked to report axis with required cost center.3. Refresh and Go Offline.
4. Save As to some name and required path.
5. Loop
I have done this in number of projects without issues! I was also able to distribute template with variable number of sheets: For example we have a property - Cost center owner and single person can own number of cost centers. My VBA code will create target workbooks for each owner with variable number of worksheets depending on number of cost centers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.