Using Excel in c#

  • Thread starter Thread starter Daniel Plocica
  • Start date Start date
D

Daniel Plocica

I have a c# app and I added the reference of Excel 10 to
it. I build an Excel doc within the app and I can not
figure out how to: 1. Print the doc to a printer?? and 2.
I would like to be able to use the 'create PDF document'
feature, and I can't figure out how to do this ??, is
there any sample code that I can look at to figure out
these problems?

Thanks..
 
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Not sure about the PDF thing though, is that native in Excel or do you have
Distiller or adobe software installed? I'm not 100% positive that it's not
native, but I haven't seen it.

HTH,

Bill
 
Back
Top