update 20241127
This commit is contained in:
@@ -33,6 +33,7 @@ namespace OfficePrinter
|
||||
public void PrintInWord(string Filename, string printmacro)
|
||||
{
|
||||
Application appWord = new Application();
|
||||
appWord.NormalTemplate.Saved = true;
|
||||
Microsoft.Office.Interop.Word.Document wordDocument = new Microsoft.Office.Interop.Word.Document();
|
||||
wordDocument = appWord.Documents.Open(Filename);
|
||||
appWord.Visible = true;
|
||||
|
||||
Reference in New Issue
Block a user