View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Steve Steve is offline
external usenet poster
 
Posts: 1,814
Default How do I select multiple worksheets for print preview?

In VBA one can select multiple worksheets by passing an array. How is this
same thing accomplished using C#?

I would like to select a number of worksheet from the entire workbook for a
print preview. Thus having only the selected worksheets appear in the
preview.
The following shows the entire workbook.

objExcel.Worksheets.PrintPreview(Missing.Value);

Steve