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

Using PowerShell to update variables within a Word document...

I have created a PowerShell script to create a user in Active Directory, create their home folder and assign their permissions, assign their Office 365 licensing and email various individuals with our...

View Article


Update all Content Controls with same name

Hello, I am trying to update content controls in my MS Word document using a macro. It's working, but only for one of the content controls with that name. Content Controls can be called the same name,...

View Article


vba xml can I pass a variable to obtain selectsinglenode values

<<?xml...

View Article

Programmatically Enforcing Merge Formatting

Hello,I have a custom c# reporting tool that creates a Word document. During testing it was discovered that when text is copied from one document and pasted into the documented created by the tool the...

View Article

Code in Word template is actually updating template rather than new Word doc

I've written some code to take a user form's data and update content controls.  It works fine when testing the template.  It doesn't work when testing in new doc created via the template.  The code...

View Article


Spell check and Grammar API to integrate

I would like to find out if there is an API out there to integrate Spell checker and grammar checker with third party tool. Of course your local system should have MS Office installed and this 3rd...

View Article

Accessing HeaderFooter.Range leaves header/footer open (VSTO, .NET, Word)

Hi,we have an addin which lets the user put a textbox with a string into the header on every page.The problem is if you access HeaderFooter.Range or .Shape the header gets activated but will not be...

View Article

Mandatory Fields Word 2010

Hello,I have a permit document which our maintenance department are going to be completeing on the computer before printing out etc. What I would like to do is have some parts of the permit mandatory...

View Article


Convert Text to table using Macros

Hi Friends,I would like to ask your help on how to convert text to table using macros.I receive the text like this example:Text1 tex1. Some/text. [text1] This is just an example.We need to create table...

View Article


Problem distributing ‘This Document’ VBA Macros to Users.

I have developed some VBA that enable a ‘Merge to Email’ to:Personalise the Subject with Merge Fields,  Send Attachments.Most of the logic is in a Single ‘MergeToEmail_Module’.  However some of the...

View Article

Hyperlinks with Chinese characters cannot be converted by ExportAsFixedFormat...

I tried with the same computer configuration, Office 2013 worked, but Office 2007 not. Is it a bug of the SaveAsPDFandXPS add-in for Office 2007? Thanks.Here is the screen snapshot of the corrupted...

View Article

Word to PDF conversion, generated PDF is not searchable

Hi I am using C# code to convert to word to pdf. We created exe out of C# coade and using in our java program. The pdf is creating successfully but the problem is it is not searchable. It is creating...

View Article

ExportAsFixedFormat works differently when export a Word Document opened in...

I have a word document that has 256 pages and some paragraphs with "keep with next" property.When open the word document in "Read/Write" mode, and call ExportAsFixedFormat to convert it to pdf, the...

View Article


Using get_Style, set_Style, get_BaseStyle, set_BaseStyle, etc. in C#

I have been using Word interop with VB for a while, including working directly with properties of Word styles. In automating Word with C#, I am coming across new (to me) and different usage such as...

View Article

Check if Document is in Compatibility Mode using c#

Hi,I need to check if a doc is opened in Compatibility Mode in order to know if the button "File->Info->Convert" exists.Is it possible? I need it for word, excel and power-point.  The version of...

View Article


Documentation on how fonts are grouped?

I was recently hired in IT/Data for a small lettershop & mailing firm and have been tasked with educating myself on font management. Everything is well documented except the logic by which...

View Article

VBA Assign variable from FIND found results

I am trying to find a style and assign the contents of the style to a variable.  Obviously, I am using the .text property incorrectly.  How do I assign the text found in the style to a variable.Dim rng...

View Article


How to create own Blog provider for Ms word.

Hi All,I have created own web site for bloging and now I want to link it with word to publish my blogs from MS word, Have seen that there are some Blog provider as wordpress , but Now I want to develop...

View Article

Image may be NSFW.
Clik here to view.

Providing and managing template add-ins

Hi CindyThanks for your help - yet again!  I have two scenarios where I want to use these Macros. The first is in conjunction with our own software.  This enables our Users to specify any WORD...

View Article

[SOLVED] Recording new macro in Word 2010

None of the Word 2010 installations at our site are allowing actions to be performed during macro recording in Word. We select Record Macro and get the "casette" cursor. No actions (like enter text,...

View Article
Browsing all 4350 articles
Browse latest View live


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