Visual Studio Tools for Office (VSTO) + MS Word Document Template
My requirement is to create a word document dynamically i.e. create a document with template having data placeholders like version, author, header etc. How can I create this template & open the...
View ArticleCopying and pasting text in alphabetical order
Hello,I am trying to improve my source code that consists the following steps:1. Search for formatted text2. Select the formatted text3. Set a bookmark for return after pasting formatted text at the...
View ArticleProgrammatically tick checkbox in word document using c#
Hi,I have a form in MS Word(2010). There is a content control check box.I have a c# utility to fill the text fields and tick the checkbox in the word document.I am able to fill the text fields, however...
View ArticleCan I use VBA to Convert PDF Files to Word Docs or Text Files?
I'm wondering if there is a way to use VBA to convert a bunch of PDF files into Word documents. I do NOT have Adobe Acrobat installed; I only have Adobe Reader. BTW, I need to loop through lots of...
View ArticleTranslate Word document English to German without changing document format...
Hi,I have developed one application which out put is MS word document.The document generated in English language.and I want one copy of same document in German language without changing format of word...
View ArticleHow to add page number automatically using C#
Hi All,I am creating a Word Addin application. In my application, there is a function which help user to add page number in each paper's footer. 1. How to add page number in the center of page footer....
View ArticleHow to add page number automatically in all pages using C#
Hi All,I faced an issue regarding add page numbers for all pages in one Word Document. I have tried the code below, _document.ActiveWindow.View.Type = Word.WdViewType.wdPrintView; object nullobject =...
View ArticleWord 2010 ExportFragment to RTF
All,When attempting to use the Word 2010 method Range.ExportFragment(filename, wdFormatRTF), I get the following error (in VBA; the same error occurs in a C# add-in I am developing):Run-time error...
View ArticleIssue Changing username using vba
I am using a short piece of code that allows users to reset their Word username and initials to the company name for consistency when using Track Changes.If Application.UserName <> "Company Name"...
View ArticleAppend to existing Table.
Is there a way to append rows to an existing table?If would be much more convenient if the base table, borders, colours, column widths etc could be defined in the source document.New learner, any links...
View ArticleAdd different footer in a Word file with C#.
Hello everyone I want to know if any possible way can add different footer in a word ? For example, I need page one use footer1 and the rest use footer2. Many Thanks!
View ArticleVBA code to extract survey form results into excel
Hi, I need to extract data from an online survey form to excel spreadsheet. I want to create a macro which imports the survey results directly into excel, by just using a command button maybe. Please...
View ArticleHow Word application choose text color as white or black based on its...
Do anyone know the logical used in MS Word application to choose text color as white or black based on background color brightness? I am need of finding whether MS Word displays the text set with font...
View ArticleContent conversion
Hi,We have an requirement to copy the word content in an editor. However, we are loosing the ordererd list and images. And formatting is also not accurate.We are planning to convert the word document...
View ArticleCopy JPG to Clipboard
I want to copy a JPG to the clipboard from within Access. The path and JPG name are in a table. There would be button the browse form to copy a selected entry to the clipboard.ThanksJim
View ArticleWord 2013 Context Menu Custom Gallery - Button Position on the menu (like...
Hello,Is there a property I can add to the XML to cause my custom gallery item buttons to appear directly on the context menu the same ay the native paste gallery items do.These are frequently used...
View ArticleOpen a Word 2010 document by clicking hyperlink but the "Display for review"...
I use this Macros to open a Word document by Windows explorer. The "Display for review" can be changed to "Final" automatically. But I found when I open a Word document by hyperlink. It doesn't...
View ArticleDynamically chosing schema
The customUI schema is different in 2007 ('2006/01') vs. 2010 ('2009/07'). But I need to be able to run my program on both 2007, 2010 and 2013 installs. Can the customUI section of the code be set...
View ArticleTable of Contents Question
When I run my macro to create a Table of Contents it works fine with one small problem. I have it setup to use 'Arial' but when the macro runs the Tab between my number and the description is in...
View ArticleOpen MS word document for editing in existing MVC application
We have all the MS-word files as BLOBs in sql server and would like to open them in our web application for editing. Is there a way I can achieve this? Please help!
View Article