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

Add Watermark to a Document On Printing

We have a requirement to create a template, which will be used to create several documents in our company.The specialty of these documents will be, when someone print a copy of this document, it should...

View Article


Save binary data together with Word document

CustomeXMLParts is used to save XML data into Word document. What's the best way to save binary data in Word document? There's no need for user to view the binary data, it's for our application to use,...

View Article


How to create excel spreadsheet in word document using c#

I create an Excel.Application in c# and a Excel.sheet contains pivot tables. I want to copy and paste this sheet into a word document using c#. But this sheet is pasted into word document as a default...

View Article

retain formating of Word bookmarked text

Hi, I'm using vbs to copy the text from a source Word 2010 document into another Word 2010 document. The following code works fine BUT the copied text has lost the formatting (bold, underline, italic,...

View Article

Public Macro

I do not seem to be able to create a Public VariableExample:Public vVariable As StringAccording to documentation this should work but doesn't. Any idea why not?

View Article


How to create DropDown with an Image in MSWord Backstage 2013

Can I create a dropdown with an image? I mean I won't show the label, only image is shown. If I click on that Image, a dropdown list will come, and I am able to choose from that dropdown.

View Article

Duplicate Word Ribbon Built-in SplitButton Control

Does anyone know if it is possible to create a custom splitbutton control that behaves like the built-in TableBorders control.I'm referring to how the face button of the built-in TableBorders control...

View Article

How to handle Don't Save Event in Word?

When a user do some changes and instead of saving document user clicks on close button, then Word prompts forSave/Don't Save/CancelIf user choose don't save, how can I handle this event.I have some...

View Article


Word submit button options

Hello, please can anyone help me with a step by step setup as how to create a submit button in ms word 2010. it the code , i will like to specify the recipient address and subject.Thankssameyaw

View Article


Cannot open Word document after publishing (Office.Interop.Word)

I cannot open Word documentin c# after publishing to IIS It can open Word document and replace any text in debug mode by using Microsoft.Interop.Office.Word. When I publish the project, it return the...

View Article

Highlight all the spelling that are change or modified during Spelling and...

Hi,I had a requirement in MS word to Highlight Only those words in the document that are change using "Change" or "Change All" option in Spelling and Grammar (F7) dialogbox. I will be using VBA. Is it...

View Article

Loop Macro to Edit Date

I have a file containing multiple word documents. Each will contain the text "Month Year" (ex January 2014). I'd like the macro to open each file in folder and change the date to the previous month...

View Article

Code snippets for populating newsletter document

Hello - I'm trying to design an application which uses an HTML form front-end to populate a database, and then takes the text contents of individual database records and enters these into a Word...

View Article


lock only document style and table columns width

Hi,  I have created a Word 2013 document with some tables and text fields. This document is a model for invoices.  Instead of create a new file for every invoice my client want to use only the same...

View Article

Performing Mail Merge where the MergeField is in an IF statements

Hi,I'm trying to perform a mail merge in C#. The Word Template has a IF condition (because there are two possible values  "Yes" or "No"). This is then converted into  a different sentences depending on...

View Article


costumed ribbon in a word aplication doesn't load

Hi I am developing an aplication level add in for word 2013.  I added a group to the home tab and it loads when i run it with Visual studio but when i open a word document the ribbon does not appear....

View Article

System.ArgumentException: Value does not fall within the expected range....

 I am getting this Error when ...fldTemp.Result.Font = currRange.Font;//where currRange is instance of Word.Range //and fldTemp is instance of Word.Field ;System.ArgumentException: Value does not fall...

View Article


Save a file using an available FileConverter in Microsoft Office Interop

I have written the following code to get the list of converters.  Word.FileConverters = myWordApplication.FileConverters; I do some searching for a particular converter from this list, and I get it.......

View Article

How to add custom web service(java) to Word 2010 via the Research Services?

Hello everybody, I have been wondering if I can add custom web services with the wsdl file extension via the Research Pane in Microsoft Word 2003. I have searched just about every site that has those...

View Article

Deleting unused styles in MS Word 2013

Hello,I have tried to use the following code to remove unused styles. Sadly, it has mashed my document base by deleting some styles that are in use. I cannot yet comprehend the pattern of which in-use...

View Article
Browsing all 4350 articles
Browse latest View live


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