office-interop
How to get the indexes of a mistake in Word's GrammarErrors object
We\'re trying to use Word\'s COM objects in order to programatically get the spelling and grammar errors in some sentences. We\'re using code that looks something like this:[详细]
2023-03-02 23:20 分类:问答Using Word Interop to Watermark doc and docx
Is there a way to use word interop (for instance) to watermark a doc or docx file? Any solution would be good, but it is going to have to work from within C#.[详细]
2023-03-02 18:36 分类:问答DragDrop on new Excel Sheet gives "Object reference not set to value"
I am using devExpress. Office 200开发者_开发知识库7. c#. When I drag and drop my results in 1/2/3 excel sheet works fine, but dropping results on new sheet gives Object reference not set to an instanc[详细]
2023-03-01 22:02 分类:问答Word Interop: setting doc.Bookmarks("BookmarkName").Range.Text causes watermark and other elements of template to disappear from document
I am automating Word from VB.Net. I open a document by: Dim msWord as Word.Application = CreateObject(\"Word.Application\")[详细]
2023-03-01 13:13 分类:问答.Net Framework Redistributable
Are these DLL\'s below are included in .Net Fr开发者_高级运维amework Redistributable? DocumentFormat.OpenXml.dll[详细]
2023-02-28 12:10 分类:问答Is there an easy way to copy a word doc. into another using C#?
How can I copy contents of one word document and insert it in anothe开发者_Go百科r pre-existing word document using C#. I\'ve had a look around but everything looks really complicated (I\'m a newbie).[详细]
2023-02-28 11:48 分类:问答How can I create a custom sortable field in Outlook populated by a formula?
Having successfully created a custom field in Outlook via a formula and parsing the Subject field; I have now hit a new snag. The custom field is not sortable. It appears as of current that the only w[详细]
2023-02-27 11:00 分类:问答Values storable in Excel
Good evening! Which types of values can be directly stored into an Excel worksheet using Range.Value2 and how do I quickly check if a particular value can?[详细]
2023-02-27 07:50 分类:问答What Microsoft.Office.Interop.Outlook version works with Outlook 2003?
I\'m creating a COM add-in for Outlook and I\'m trying to target all \'still used\' versions of Outlook: 2003, 2007, 2010. However, the add-in\'s UI (which is rather simple, a CommandBar) doesn开发者_[详细]
2023-02-27 06:13 分类:问答Excel Template: Merging data and saving workbooks
I am on my first foray into Excel Interop and after a flying start have hit a wall. I have an Excel template that contains one sheet which is an assessment form and another which contains guidance no[详细]
2023-02-24 05:40 分类:问答