Could anyone help me on the following scenario:
I have a TABLE_A containg fileds such as Division, Year, Month, Amount
How do I set up a macro that can exort a few reports seperately based on divison variable?
I am thinking about a structure like this:
-enter non-loop variable - Year, Month
-Loop on Divison
-SQL based on the variables
-report based on the sql (export to file) (pre-setuped report template)
-end loop
Unfurturnately I only know a little simple stuff about vba... Can anyone suggest some key functions/structures?
Thank you very much.
I have a TABLE_A containg fileds such as Division, Year, Month, Amount
How do I set up a macro that can exort a few reports seperately based on divison variable?
I am thinking about a structure like this:
-enter non-loop variable - Year, Month
-Loop on Divison
-SQL based on the variables
-report based on the sql (export to file) (pre-setuped report template)
-end loop
Unfurturnately I only know a little simple stuff about vba... Can anyone suggest some key functions/structures?
Thank you very much.