Hello! I am currently working on an Excel workbook that may be able to produce financial reporting templates, based on the data taken from the contract.
Namely, not all contracts are the same. Most of them differ in budgets, many of them in a number of reports etc.
To accomplish my task, I have inputs sheets. Resulting from input sheets, parameter sheets are created.
I've managed to code many of them. Now, I am stuck with the reporting template, itself.
So far, doing good. Now, I face a challenging need to have a couple of nested for each statement. I don't see other way around, considering my VBA knowledge.
What is your approach in a similar situation? Do you call individual macros, or put everything into one?
Calling individual macros would resolve my problems. However, I am pretty much lazy about resetting.
Aside of defining global variables and constants, is there a way to set values applicable for all modules & sheets?
For example:
Dim InputSheet as Worksheet
Set InputSheet = Worksheets ("InputSheet")
for all modules & worksheets to be implemented, not to reiterate sub by sub?
Namely, not all contracts are the same. Most of them differ in budgets, many of them in a number of reports etc.
To accomplish my task, I have inputs sheets. Resulting from input sheets, parameter sheets are created.
I've managed to code many of them. Now, I am stuck with the reporting template, itself.
So far, doing good. Now, I face a challenging need to have a couple of nested for each statement. I don't see other way around, considering my VBA knowledge.
What is your approach in a similar situation? Do you call individual macros, or put everything into one?
Calling individual macros would resolve my problems. However, I am pretty much lazy about resetting.
Aside of defining global variables and constants, is there a way to set values applicable for all modules & sheets?
For example:
Dim InputSheet as Worksheet
Set InputSheet = Worksheets ("InputSheet")
for all modules & worksheets to be implemented, not to reiterate sub by sub?