Perimeters for Document.Close Method Word Interop

Syntax expression . Close( SaveChanges , OriginalFormat , RouteDocument ) expression Required. A variable that represents a Document object. Parameters Name Required/Optional Data Type Description SaveChanges Optional Variant Specifies the save action for the document. Can be one of the followingWdSaveOptions constants: wdDoNotSaveChanges , wdPromptToSaveChanges ,…

Continue ReadingPerimeters for Document.Close Method Word Interop

Microsoft Excel file save as xls vs xlsx in C#

Overview: xlsx is a newer format.   Code Samples below: SaveAs xls wb.SaveAs(fullPath, Microsoft.Office.Interop.Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);   SaveAs xlsx wb.SaveAs(fullPath, Microsoft.Office.Interop.Excel.XlFileFormat.xlOpenXMLWorkbook, Missing.Value,…

Continue ReadingMicrosoft Excel file save as xls vs xlsx in C#

End of content

No more pages to load