Problem In Export To Excel

How to give in web based system in a view export to excel format(like client based system)any code pls guide me.

Thanks

Amar

Subject: Problem In Export To Excel

http://www.codestore.net/store.nsf/unid/EPSD-559R3S?OpenDocument

Note that in Domino 6 you can set the content-type of a $$ViewTemplate to “application/vnd.excel” as well, so you can use a view set to “Treat as HTML” instead of an agent.