Hi,
I am using vs 05 and access 07.
I would like to export the data in the datagrid to an excel file preferably in excel 2007(i.e. .xlsx).
I have found this discussion on daniweb
http://www.daniweb.com/forums/thread211651.html
however i get an error

Excel.Application app = new Excel.Application();

Am i missing any assembly reference.

Thanks.

I need help on this. Please reply

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.