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

Meaning of Content Control Start/End tag appearance

I am working on some fill-in form templates for a non-profit. I ran into an issue with a template where the fill-in didn't work properly. When I looked at the template, I could not find any difference...

View Article


Can not get he ActiveDocument.SaveAs2 method to work on Word 2013

For many years I have automated office applications from Visual Basic through the Office Object Model. This has been working fine for all versions from 2003 but failed when I upgraded to Office...

View Article


Word Automation how to Protect Document with Restricted Access

As the title, how to achieve this in VSTO?ctually I just want to use Automation/VSTO to implement "Restrict permission to content in files". Any idea?...

View Article

How to add text vertically into a Word margin with C# (using namespace:...

I need to add text vertically in a word document outside the margins.  How can I do this with Microsoft.Office.Interop.Word and C#?Leonard Swarczinski Software Developer Postal Center International

View Article

OLEMessageFilter and Word Automation

I have a desktop application that does a significant amount of Word and PowerPoint automation. I was running into RPC_E_CALL_REJECTED errors so I implemented the OLEMessageFilter to handle those.My...

View Article


How to use macro ti read pages from bottom to top in Microsoft Word?

I was given this code:               With ActiveDocument Set Rng = .GoTo(What:=wdGoToPage, Name:=.ComputeStatistics(wdStatisticPages)) Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\page") End...

View Article

HttpException (0x80004005): Request timed out at Windows Server 2012

Dear All, I am using "Microsoft Interop Word dll for resume parsing. My functionality is working fine at my local machine. I have two server one is Windows 2008 and Windows 2012 server. I have deployed...

View Article

Programmatic search and replace in Word takes 'forever' with a document on...

I have a C# .NET program that does a programmatic global search and replace on a Word document.  The operation takes a few seconds when working on a local document, i.e. one purely on the hard drive of...

View Article


Reduce space between a numbered bullet and a text programatically

Hi All,I have a table that has a column,like this1.1.1.  hi1.1.2.  hello ''' 1.1.11            hi ====> here we can see there is suddenly so much space between number and the...

View Article


Error -2147417851 Method '~' of object '~' failed in VB6 with word 2003

We have very strange error here for which we could not find any solution. I hope VB6 ,word expert could help us in this.We have our code in VB6. There is a functionality in the code in which we send...

View Article

Ranges with Fields

Hello,    Could someone explain how the Range.End is determined when a Range contains one or more fields?  The text of the range is either the fieldcode or the displayed text depending on the...

View Article

Range.InsertXml - Content Control Inserted with Line Break

Hi,I'm developing a Word 2013 application level add-in.When a Content Control generated using Open Xml API is inserted into a paragraph range using Range.InsertXml, a line break is being added.A line...

View Article

Image may be NSFW.
Clik here to view.

Disabling Word Functionalities.

Dear Sirs, I have downloaded a component for word documents viewing, customization, etc... Please find attached the related pictures, with my comments and questions.Your help is much appreciated,

View Article


Word - Interop - Read document text containing inline shapes

I am creating an addin using C# for Word 2013. I need to read the text of a word document using VSTO. I can get the text using    string textToBeRead = activeDocument.Content.Text; The issue is Word...

View Article

How to add page number in word document using Microsoft.Office.Interop.Word...

I am using Microsoft.Office.Interop.Word to generate word file using C#. While adding page number in footer some of the page number get repeated though section of each page is different. How to...

View Article


Edit citations in word?

Hi everyone!I am working with word and trying to edit the format of my citations, maybe someone can help me...My citations look like: [1] [2] etc I found out how to manage to get two citations together...

View Article

Open embedded object in Word via a hyperlink

I have a Word document with embedded PDF files. I would like to create a hyperlink (or maybe a button), that when click opens the embedded PDF. Used the hyperlik option, but it just takes you to the...

View Article


Text for some (not all) content controls (Word 2010) disappears after saving...

I use three content controls (document properties) in a Word 2010 document: Subject, Company, and Manager. The Subject content control maintains the place-holder value I put in every time I...

View Article

Hyperlink from within a Word Document to a specific page within a PDF document.

I was hoping that someone would be able to assist me.  I would like to create a hyperlink (used as a citation) on my Word document that opens directly to a specified page within a PDF document...

View Article

Headers on even and odd pages, VSTO

Hi,I'm trying to crate word document. I created that headerMIDDLE-TextLeft header site Page 1 of 4______________________________________________but i want different headers at even and odd pages. My...

View Article
Browsing all 4350 articles
Browse latest View live


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