Shawn,
There are two ways to do this, depending on whether your list of salesreps to run are userclasses in your catalog, or just data. Assuming they are just data, is it a simple, static list, or is it a longer and dynamic list? A short static list can be programmed into the macro as a static array. A longer dynamic list can be populated into an array in the macro via either an Impromptu report using the GetDataValue call, or read from the database with a direct SQL ODBC call.
Once the list is in the macro, it is just a matter of running the report in a repetitive loop, using the current value of the salesrep as a report prompt.
So, create an array, fill it with the salesreps to filter each report on, then run the report for each salesrep by calling the report from within a For ... Next Loop.
How you handle the output depends on your needs. You can create a PDF file for each salesrep, or you could even email the file to each salesrep if you could associate an email address with their salesrep filter value, depending on your email client and its API.
This would not be a easy macro for a beginner, but it is possible with some work.
Look over the sample macro, the macro help file, and come back with questions.
Regards,
Dave Griffin
The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
Want good answers? Read FAQ401-2487 first!