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

Creating template from db fields and auto filling them

Hey guys,I need some help with the following.What is the best way to create a document where you can put in fields from a database to build up some kind of template ? This should be visually attractive...

View Article


Change the default save file name

Since I did not get any response in the SharePoint forum, I'll try here:I have created a small document management system for a client. In their old system, new documents were automatically given a...

View Article


Where To Find Implementation Documentation

Hello, All,My question is: Does anyone know if there is a good source of documentation on Word's implementation of DOCX? I previously asked this question in the Open Specifications forum, but I was...

View Article

Programmatically retrieving information from a Word documents header and...

HiI have a procedure that opens a Word Template file and retrieves a number of markers/placeholders. The markers take the format of <~CompanyName~, <~FirstName~>, <~FamilyName~> etc.Once...

View Article

A string is split into multiple w:t elements by Word

I have to generate a Word document with lots of values from a database.  I use a template docx file created using Word and then have replaceble fields using words beginning with %, for example, %name,...

View Article


how to loop StoryRanges in javascript??????

how to loop StoryRanges in javascriptlike c#oWordApplic = new Application();Doc = oWordApplic.Documents.Open(ref fileName); StoryRanges sr = oDoc.StoryRanges;            foreach (Range r in sr)...

View Article

Highlight Button / Gallery On the Home Tab

We have a template in which we've edited the ribbon using the Custom UI tool and added a custom tab.On that tab I've added idMso TextHighlightColorPicker but it doesn't work the same as the one that's...

View Article

Word 2010 document to PDF conversion problem

I have a document in MS-WORD 2010 .docx format which contains equations. when I am saving the file as a .pdf file, the equations do not show up properly. particularly the summation symbols are missing,...

View Article


Conditional Mergefields in Footer don't work as expected

Greetings,I have what seems a strange problem:I am generating a (Catalog) merge document. For some of the entries I insert a notation, and on those pages I add a footnote; the pages with no notations...

View Article


VBA Word - Switching the value of Shape.RelativeVerticalPosition physically...

Hi,I have been struggling with an issue for a while and couldn't find anything relevant...When I change (in VBA ) the Shape.RelativeVerticalPosition, it would change the physical position of a shape....

View Article

Split Muti Column Listbox results of column 2 to a Txt Box

Please Help,I am a new "coder" and have been able to accomplish a lot based on web searches and forums but i am Stuck!!!!!I have a multi column list box that pulls data from an Access Data base and I...

View Article

Linking Word to Excel

I have to create a report on a specific page in a Word Document (the final report) that involves pasting in charts from several different Excel Spread Sheets.  The challenges are that I can't have a...

View Article

Is there an fixed version of Microsoft.Office.Interop.Word.dll on MSDN?

There's a bug in version 10 of Microsoft.Office.Interop.Word.dll that has the Cancel and SaveAsUI parameters marked as [in] instead of [in][out].  I can disassemble, fix the parameters, and...

View Article


Image may be NSFW.
Clik here to view.

How to change the Word Callout point

Hello, I am trying to create a Callout on Word Document,My Code is: word._Document wdDoc = new word.Document;Shape shpCanvas = wdDoc.Shapes.AddCanvas(px,py,pw,ph);Shape callOutShape =...

View Article

how to Edit style properties Programatically

Hi everyone,                   I have created style with numbered in doc files, which is having list numbering property set , now i want to remove this numbering programetically from that style.Any...

View Article


Can't sort table containing mapped repeating section CC

I'm not sure if it is a bug or by design, but I notice that Word will not sort a table that contains a mapped repeating section CC.  Attempts using table sort results in the repeating section CC and...

View Article

Conversion from HTML to rich text format hangs when tried using a word...

Conversion from HTML to rich text format hangs when tried using a word componentConversion from HTML to rich text format hangs when tried using a word component in code, so we tried the same steps as...

View Article


Compatibility of MFC-based Automation?

I am reading the article http://msdn.microsoft.com/en-us/library/office/aa155776(v=office.10).aspx . I am just curious if I using Visual Studio Class Wizard to create MFC class based on Microsoft Word...

View Article

Using a table style to format the last row of a table

Hi,I'm using Word 2007 and Visual Basic for Applications. I want to format the last row of a table using a table style, but can't accomplish the task. My sample code, located in the ThisDocument class,...

View Article

Tagging plugin available or create my own using VBA?

Hello,I would like to highlight a word/s and then select a button like Alt-H and after doing so, i would like a drop down list to popup/down and on that list i would then like to select from that list...

View Article
Browsing all 4350 articles
Browse latest View live


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