Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends. How could i export printdocument data to word and excel in c#?
Posted

1 solution

How are you getting the data into the PrintDocument? You just need to use the same data to create or add to existing Excel or Word documents using Microsoft Interop Assemblies in the usual way.

Hope this helps
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Jul-11 14:50pm    
Absolutely. This is the whole point. PrintDocument is not a source of data. The approach here should be centered around original source of data, not any of its presentations. Hope OP will understand it. My 5.
--SA
Pooyan Behroozfar 7-Jul-11 15:10pm    
Could you please help me to use microsoft interop assemblies?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900