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

Inserted OLE Object in my own control fails to display equations

My team made a control used to edit text and picture etc. We added an "Insert OLE Object" function used to insert files like word and excel. The sudo-code is: COleInsertDialog dlg;COleClientItem *pItem...

View Article


VB.net Word 2016 – use Window Index to switch between documents when...

In Word 2016, to switch between active Word documents Im using ActiveWindow. Index.I thought this would be safer than using ActiveWindow.Captionsummary doc = ActiveWindowIndex = 2I create a new temp...

View Article


Copy and paste Bold Words Issue?

Hello,I am a content writer. When I write content for my client. I use proper heading and make the words bold. I save this content in Microsoft word file. And when my client copies the content and...

View Article

Macro VBA set AttachedTemplate Error '5947 could not change document...

Hi, so I've been working with Word Macros recently and I ran into a strange error. So in the document I'm working with, it has a loaded template. I have written VBA code inside the template that...

View Article

Word is unable to paste something it just had copied, ends with VBA error 4605

Hello everybody,at a customer's site there are Word macros running since _decades_ just fine. One thing they do is copy the whole current document's Range (into the Windows clipboard), create a new...

View Article


Word Document panes with split screen property

Hi,I am using word document split screen property in our application. Microsoft.Office.Interop.Word.ActiveWindow.Split = true; And I want to apply background color to certain ranges only in any one of...

View Article

Open Word File on server in Client and Save File to Server Machine in Vb.net

Hi,I am developing Windows application in vb.net using visual studio 2012.I have created one folder in server machine.I put all word documents in that file.In IIS i created one virual directory and map...

View Article

VB.NET Check if WINWORD.EXE process is running

The application.exe, the original code launches a New Word session to edit documents.On testing I noticed each time the application runs, it creates a new Word session.  In the Task Manager there can...

View Article


Image may be NSFW.
Clik here to view.

How to catch the word exception?

下图中的弹窗就是我通过VSTO使用C#开发word add-in时遇到的情况,具体过程是,我把Bookmark的range的text转移到contentcontrol的tag里面,但是某些bookmark在转移的过程中,会弹出下图的异常“不能在此处应用RTF控件”,所以我想捕获到这个异常,不让它弹出这个窗口,跳过当前这个bookmark,继续进行接下来的bookmark。Below the...

View Article


Determine if Word running using Dim processes As Process() =...

I have a Winforms application that launches Word to automate and edit documents.I would like to check if Word (WINWORD.EX) is already running.if Word is running thenuse the existing session of...

View Article

Determine if Word is running using Function IsWordRunning()

I have a Winforms application that launches Word to automate and edit documents. I would like the code to work.I would like to check if Word (WINWORD.EX) is already running.if Word is running thenuse...

View Article

Word Add in development (speech commands for blinds) [Urgent]

Can i get list of all the items in the Word menu bar? Like in home tab (font size, font color, bold, highlight). Actually i want to use this list to add speech commands in Microsoft word. I want to...

View Article

Word Add in development (speech commands for blinds)

Can i get list of all the items in the Word menu bar? Like in home tab (font size, font color, bold, highlight).  Actually i want to use this list to add speech commands in Microsoft word. I want to...

View Article


Image may be NSFW.
Clik here to view.

Word file Printing Problem with Hidden Image

Hi ,i have document having some Images and seems like one image overlay to another Image.Attaching sample set for Image Layout.This document looks fine while full mode of Read View but in edit mode it...

View Article

Overlap Imag Pritning in Word

Hi,i have word file having overlap images.in Read View, those images view perfectly fine but when i edit document it hide one of the image because of overlap issue.How to print those images ?ThanksViral

View Article


Table of Contents Entries

HiI created a custom Table of Contents in Word (Office 365) where i only wanted to use my custom styles called Style 1, Style 2 and Style 3 (i.e. wanted to exclude inbuilt styles Heading 1, Heading 2...

View Article

Is there any way to hide Word's splash screen when starting Word?

I'm writing a program that uses Word to accomplish tasks with documents. The program has to start Word, but I don't want the splash screen to show. Any way to do that?Robert Homes

View Article


how to run a macro from specific line in the middle of the code to end of the...

hi frinedsimagine we have the following Macro in VBA sub  Macro1line 1line 2line 3line 4line 5end subhow can i run from line 3 to end ?i didn't find any solution in Debug menu to do thisthanks in advanced

View Article

working with word doc. C#

I have a word document that I want to populate existing tables. I have to use the following instruction multiple times in an operation.string templete1 ="C:\\Quote Project...

View Article

Microsoft.Office.Interop.Word issue:...

I've been using wdActiveEndAdjustedPageNumber to find out the page number of various selections and ranges in footnotes/endnotes. In one situation, it returns the incorrect page number.Example. Suppose...

View Article
Browsing all 4350 articles
Browse latest View live


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