Quantcast
Channel: Word for Developers forum
Browsing all 4350 articles
Browse latest View live

set "Do not compress images in file" option

I found  "Do not compress images in file" property is not exposed in the VBA object model from http://answers.flyppdevportal.com/MVC/Post/Thread/a03aec8e-b7dc-444e-9ea2-4e7964d2e423?category=worddevI...

View Article


Is there an event for change in document content?

Is there an event for listening/registering to edits on the document as they happen? I am looking to run some business logic whenever user edits the document (after an idle period of keypress). This...

View Article


Repeat Word template in several pages

Dear all,I developed a Vb.Net application that reads data from a SQL Server table.At the moment, for each row, I open a Word template, fill the predefined bookmark and create the final Word .doc...

View Article

Microsoft Word 2013 crashes on running a VBA code / plugin

Word 2013 crashes when running a VBA / macro on the documents that have comments section enabled. The functionality of the macro is to search for a character and replaces it with "" (blank) in the...

View Article

How to Encrypt Excel Connection String while connecting it to SQL server

Hello All,I am pulling data from SQLServer into Excel. I want Connection String To be encrypted. When I go to Data->Connection properties and click on save Password , I am  able to see the password....

View Article


Error 5854 (String too long) with BuildingBlockEntries.Add ?

Hi,I'm quite surprised to receive a "String too long" error when adding a new BuildingBlockEntries by code because I'm telling to add a range not a string and I have no problem to add it manually(Word...

View Article

Change the font added a hyperlink in a Word file

Hi Everyone,For a Powershell script that automates Outlook signatures, I need to insert a hyperlink in Word file.Until then I have no problem to add hyperlinks in the Word file.The trouble is :- The...

View Article

Converting Word RTF documents to DOCX in word 2013/2016 using Wordcnvpxy.cnv...

Dear Sirs.Could you help me to how to use Wordcnvpxy.cnv 's function  Rtf2Foreign32 for Converting Word RTF documents to DOCX (word 2013/2016) using .NETPlease share some code, and is this way faster...

View Article


Read MS Word document and parse to MS Excel using C#

I am trying to develop a tool which can read some specific part of text from MS Word (doc or docx) and parse them to MS Excel with specific tags using Windows Forms Application in Visual Studio 2013...

View Article


Problems with text formatting and BuildingBlockGallery Content Control

Hi,I have some simple Building Blocks made of 2 o 3 lines of text with different formatting styles, saved in Custom5.I have a BuildingBlockGallery Content Control in an empty paragraph with those...

View Article

Using Array() function with Shapes..Select

I' am trying to dynamically select some shapes.I have some code that works well to yield a string that is made up of the Index of the shapes I want to select.  Normally, to select several shapes at...

View Article

Old vs New... (Shapes collection)

Before Word 2010, floating shapes displayed green little circles in the corners when you selected them. Now, they have white little squares and a pop up menu attached to them.If you have a document set...

View Article

Disable "Save As" from the Backstage view with XML script

HelloI have a client using a document management system (DMS) and wants to force Word users to save to the DMS and nowhere else. To do that, I've disabled "Save" and "Save As" in Word 2007 and Word...

View Article


Image may be NSFW.
Clik here to view.

Need to disable or redirect "Reply to Comment" button (not the ribbon button)

Can anyone tell me how to disable the reply to comment button (circled in red below)? It seems to call the built-in InsertAnnotation command.  However, I have tried overwriting this command with my own...

View Article

Embed Object in Specific Cell In Table in a Word Document Using VBA

I need a macro to insert variable of powershell to word table. This code create a new word document and insert data. $VerbosePreference = "Continue" $script_path = Split-Path -parent...

View Article


Any links in Word Developer Help wont work

Hello everybody,first of all I'm no native speaker so excuse me in advance. We changed our IE Policies recently any since then Links in our Word Developer Help wont work. I have no clue right know...

View Article

Issues with Macro enabled protected Word document.

Environment:File Type: Macro-enabled Word document (.docm) Office version: Microsoft Office Professional Plus 2013 Operating System: Windows 7 EnterpriseType of Protection: Filling in FormsPassword...

View Article


How can i open a docx file by the share way?

I want to open a docx file by share way ,namely after I have opened the docx file ,I still have the accesse to edit it by my .net code .Thanks !

View Article

OPEN WORD DOC AS READ ONLY IN LATE BINDING

Hi there,I need to open a standard word document sheet (not a model), make all text insertions and so on, but I cannot save this new document over the standard one.I need to move for late binding, and...

View Article

Search specific text only inside all the tables in a word document

Hi, I want to search specific text only inside all the tables in a word document, if it find that word in any where in the table then do two things: 1. Convert the  first cell body text to heading 1....

View Article
Browsing all 4350 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>