|
-
September 19th, 2002, 01:09 PM
#1
Printing from Excel 2002
How can I give Excel 2002 the command to print a worksheet for me from C# ?
I have this code:
Excel.ApplicationClass app = new Excel.ApplicationClass();
Excel.Workbook sht;
sht = app.Workbooks._Open(filename,0,true,5,"","",true,Excel.XlPlatform.xlWindows,"\t",false,false,0,true);
sht._PrintOut(1,1,1,false,true,false,false);
I hope this is right, but if someone can help me it would really help me out !
WM.
What about weapons of mass construction?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|