Operation Microsoft.Office.Interop.Word word given: Object reference not set to an instance of an object

Microsoft.Office.Interop.Word operation using word, built wordRange error: the sample is not provided to the target object reference:

Configuration C: \ Windows \ System32 \ config \ systemprofile \ Desktop path, if the folder does not exist, the new

Configuration C: \ Windows \ SysWOW64 \ config \ systemprofile \ Desktop path, if the folder does not exist, the new

Published 22 original articles · won praise 1 · views 6919

Guess you like

Origin blog.csdn.net/soulman1234/article/details/96484146