Dataport Export to Excel

Hi,

What is the code to export fields in a table into an excel file?

Thanks.

You can look at this link

http://dynamicsuser.net/forums/t/54227.aspx

or this one:

http://dynamicsuser.net/forums/p/25998/140880.aspx

if you want to copy from table to excel you might want to simply try copy & paste too.