function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gopal SinghGopal Singh 

I want the visualforce page should be downloaded in excel format by clicking a button and also want to send parameter from one page to another page.

goabhigogoabhigo
Don't know what exactly you are trying to do. Below links would help you understanding, I believe:

For exporting into Excel, <apex:page standardCOntroller="objectName" contentType="application/vnd.ms-excel#YourFileName.xls" > - How to export data in Excel or PDF format using Visualforce (https://help.salesforce.com/apex/HTViewSolution?id=000003176)

For passing parameters, there are already various articles if you Google. 
http://www.forcetree.com/2009/06/passing-parameters-to-visualforce-page.html
http://blog.jeffdouglas.com/2010/03/04/passing-parameters-with-a-commandbutton/
https://developer.salesforce.com/forums?id=906F000000099LuIAI

Trust this helps.

--
Abhi