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

Apply a specific style to any text anywhere in MS Word upon a ribbon button...

Hello All,I'am trying to add a style to any ms word document upon a click of a ribbon button , pretty much works like the bold,underline,heading buttons of ms word, but the problem is , I'am not able...

View Article


Insert "New" WordArt Object Programattically.

Cross posted:...

View Article


Clearing Form Fields

I have a macro which I need to clear the value of all text formfields within a boomark range in the document.If I set the oFF.Result to a value, for example "test", then it works no problem.However...

View Article

Open a document without converting under Word 2010

Hi!I open a Word document (Testf.txt)...This is a normal Text document...When i open the document then i become a window wher the user must click witch code conversation the document have...Is ther any...

View Article

Command line startup switch - new instance of Word and templates opened as...

Hi,I am looking for a way to get a shortcut (.lnk file) to open a new instance of Word, and to open any template files (.dot or .dotm) as documents (as if the user had selected 'new' when opening the...

View Article


AutoExec in Word 2010

Hi, I have been trying this to get Word 2010 to run an AutoExec macro.------- Word 2007 Create a new blank document in Word. Click the Microsoft Office Button, and then click Word Options. Click Trust...

View Article

How to temporarily hide the Apply Styles taskpane

[Word 2013, C# VSTO] I'm using getEnabled in the Ribbon to disable access to some Style functions when the user is in particular parts of the document. If they open the TaskPaneFormatting taskpane...

View Article

My New Add-in is showing up Ribbon from previous version of the Add-in

Hi,We have our Add-ins which creates a new Ribbon.I've my new version(2.4) of Add-in installed . But Only in Word, ribbon controls from previous version(2.2) Add-ins are showing up under default...

View Article


Problem to start ms word 2013 and wait for exit!

HiIn my app, there is a section which extract some information from db, generate word doc, save on client machine and start ms word then wait for exit to save in db.this is code which works for ms word...

View Article


Set borderstyle of a particular row in a MS Word table using C#

I’m trying to insert different query results from sql into multiple tables in a word document. So I have created a word project in visual studio and placed a bookmark in the word document where I want...

View Article

Saving Word file to .doc leaves my .docx corrupt

using Word 2007 and it gives me the option of saving a file to the .doc format instead of .docx. However it gets corrupted and it ends up looking like a notepad file when I open it.

View Article

Calling EditReplace dialog from a macro

In Word 2003, I used to call the EditReplace dialog through a macro, wherein some operations were initially made on the Find and Replace fields, and then the dialog was called through...

View Article

C# - Calculating page count in Microsoft Word - Bug?

I have a word document that is a full 2 pages of text  (any more text will push the document to the next page).Inside Word, I can go to the "Review: Word Count" and see that it is 2 pages.However, in...

View Article


Using Connector-Shapes in Word (C# .Net-Framework)

Hi @all,I am writing a software in c# using .NET-Framework 4.0 drawing flow charts in word. I wanted to use a canvas to place rectangles and connect them. I was able to place connectors into the...

View Article

Issue (and dilemma) with Overwriting Header/Footer bookmark with TrackChanges...

Hi,There's a specific scenario in Word, that my add-in programmatically adds a bookmark that encloses a text that is for consumption of the add-in; which works fine for almost a decade now.However,...

View Article


ActiveDocument.SelectContentControlsByTitle not returning content controls as...

Antony

View Article

Looping through revisions hangs up when revision is in a hyperlink field

FYI, I'm using Word 2010 and Excel 2010 in Windows 7.The following code works fine, except as described below.    For Each dRev In Prod.Revisions        cRevText = dRev.Range.Text          Select Case...

View Article


Content Control was deleted by unexpected operation, select ROWS key DELETE

I have a table, in the cell with content controls. I set content control's LockContentControl = true. If I select the rows (WHOLE), and press DELETE key, the content control was deleted. I think it's...

View Article

Spell check slowness issue in our application for spell check fields, when MS...

Hello,We have a application developed in Delphi 5 and we are using spell check in some of the fields in the application. This application is basically developed for doctors and physicians. There is a...

View Article

How to know if 'Enter' key is pressed from within another ribbon button click...

Hi All,I have a Ribbon button click event like this  private void Title_Click(object sender, RibbonControlEventArgs e)        {//do something;     }Here I want to know how I can call another function...

View Article
Browsing all 4350 articles
Browse latest View live


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