Last active
October 13, 2019 17:12
-
-
Save evanricard/f7f0cfa36602a4123285f3ee0a7320cb to your computer and use it in GitHub Desktop.
werd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Application app = new Application { Visible = true }; | |
Document doc = app.Documents.Add*(; | |
Paragraph para = doc.Paragraphs.Add(); | |
para.Range.Text = "Simple new code"; | |
doc.SaveAs2<-->(FileName: "demo2.docx"); | |
doc.Close(); | |
app.Application.Quit(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment