Macro code help: Highlighting all the occurence of words that once occurs in...
Hello everyone, I'm running Microsoft Word 2010 off of a Dell laptop. I have a .docx (created on a Mac) with lots of information between quotes, " " like this that I would like to highlight any...
View Articlehow can I operate Charts in word ?
At first I created a Word document like that :Then I use the Microsoft.Office.Interop.Word API to change the data of the Charts dynamicaly like that:......Microsoft.Office.Interop.Word.Chart sh =...
View ArticleWord document with embedded Excel objects
Hi,I have a Word document opening in Word 2010 with embedded Excel worksheets. I have a VSTO addin that accesses the Excel objects and modifies them. I use the Activate method of the OLEFormat object...
View ArticleHow can I get the searched words?
...use Microsoft.Office.Interop.Word;...public class BG{..public void go(){Microsoft.Office.Interop.Word.Application WordApp = ...;Microsoft.Office.Interop.Word.Document WordDoc =...
View ArticleIssue While Extract the Embedded Object present inside word 2010 file.
Dear Friends, I have developed application c#.Net 2008, Step 1. It will open the word file and find the embedded object(*.m file) in it. Step 2. That embedded object (*.m file) is copied to clipboard....
View Articleoffice 2010 template
hello gurus, i downloaded a template from this link below:http://code.msdn.microsoft.com/office/Office-2010-Creating-VBA-8a4ab0b6#contenti just want to know how this template (screen shot below) was...
View ArticleHow to get ColumnIndex value in VBA when navigating in a Word Table
Hi,I have a Word document with tables, and I ask via VBA to go through table 4 from top to bottom in column 4. What I want to know is the ColumnIndex of the cell in which is located the cursor (and...
View ArticleEXCEL VBA CODE TO EXPORT MY WORKSHEET TO MS WORD
CAN ANYONE PLEASE HELP ME WITH A COMPLETE EXCEL VBA CODE WHICH WILL EXPORT MY EXCEL DATA INTO WORD AND EVEN IF I EDIT THE DATA IN EXCEL ANOTHER TIME, IT WILL ALSO MAKE CHANGES IN THE THE WORD DOCUMENT...
View Articlepositioning (centering) of page on screen
Hi all,in a Word 2010 app-level addin I decided to use two floating custom task panes instead of one docked. The panes are placed below each other on the right side of the screen. However, unlike with...
View ArticleHow to insert multiple image in word document using Interop.Word in c#.net
I have a list of data to insert in Word document.I am using Microsoft Word Object Library dll for data insert in Word document.my data look like first column is image and other column is name,address...
View ArticleHow to localize language in MS Word Add-in?
In my application, buttons have english labels. But I have installed MS Word for Slovak language. In ribbon designer, I set Localizable to true and Language to Slovak, then I rewrite labels. In...
View ArticleExport data from C# winForms treeView to MS-Word MergeFields
I have a winForm app written in c# and i have a treeview contains files from a directory. It also contains data about each files (fullpath,creation time,size) it look like...
View ArticleMatching formatting of styles copied into document to Normal style
I have some document assembly macros which bring in autotext entries into differently formatted documents. All the style names are the same in each document; however, the various documents may have...
View ArticleDrop Down Control Box (VB Scripting)
I am working in Visiual Basic in WORD 2010. I know how to add item(s) to a contentcontrol drop down list, but how do you remove one, the last one? A users initials are added to a drop down box in a...
View ArticleUnwanted print job created
For some reason when I run the macro below, a print job is also generated that contains ALL the pages of the document. I would like to prevent that from happening.BACKGROUND. I have a VBA macro to...
View ArticleBest Resources For Advanced Word VBA
Hello:Can anyone recommend an ADVANCED VBA book for Microsoft Word 2010?I am primarily an Excel developer, but recently have a client that wants the results of Excel placed in Word without doing copy...
View ArticlePrevent from removing digital signatures
Hi All,I have a working MS Word Addin and Signature provider through which I'm able to sign the document. I would like to know if there a way to prevent the user from removing the digital signatures...
View ArticleCompress pictures using macro in Word
Hi,I am using MS Word 2010 and have a piece of code that changes pictures attributes:Sub ChangeImageBorder() Dim iShape As InlineShape For Each iShape In ActiveDocument.InlineShapes With...
View ArticleSpeeding up Word Macro
I have a form - 12 questions (radio buttons) - each grouped with 4 questions.Is there a better way to write this? It's taking 40 seconds to open the file. Also each radio button has it's own sub...
View Article2010 Word Table Row Height Issue
Hello:Setting the row height in a Word table seems to be problematic. If I set it at an exact height, then it will not wrap text if the text exceeds the length of the cell.If I change the setting to...
View Article