print worksheet in excel vb.net code example
Example: print worksheet in excel vb.net
CType(Application.ActiveSheet, Excel.Worksheet).PrintPreview() 'Show print dialog
'OR
CType(Application.ActiveSheet, Excel.Worksheet).PrintOut _
(From:=1, To:=1, Copies:=2, Preview:=True)