I think this article (Generating downloadable reports) walks you through what you're trying to achieve. Let me know if that's not enough.
I think this article (Generating downloadable reports) walks you through what you're trying to achieve. Let me know if that's not enough.