remove paragraph formatting
Hi,I want to remove the paragraph formatting from the current selection. See picture below. The paragraph contains two blue lines. How can I remove them programmatically like the CTRL-Q command at...
View ArticleHow can I distinguish special characters or signs in Doc through VBA?
How can I distinguish special characters or signs in Doc through VBA?I have a few large documents written in word 2003 format and now I work on them under word 2007. Such large documents containing...
View ArticleListview checkbox disappear in the multiple page for listview control version...
Hi AllAs the captioned, I encounter one issue for the listivew.I create one form, and drag the mutiple page in the form, in one tab, i drag the listview to display the data, and also set the listview...
View ArticleMicrosoft Word Drop Down List
Hi,I have a name list from master workbook. In microsoft word i want to create a drop down list which refer to the said master workbook, so anyone know how to get it by using VBA code?
View ArticleHow Could I Know How Many Cells be merged in one,...
Context : In my Word Add in project, i want to reDraw MSWord's table. Problem: When the merged cells in one row are more than one, I can do nothing to make sure how many cells the one of merged cells...
View ArticleCan i disable a button inside a ribbon class from another class under the...
In a word add-in application , can i disable a button inside the ribbon class from another class under the same namespace ?
View Articlemicrosoft word 2010
Good MorningI have asolutionmadewith VisualStudio2010thatwill insert picturesin MicrosoftWord 2010.I have usedMicrosoftOffice14.0Object Library, as we haveMicrosoftoffice 2010.everythingworks finebut...
View ArticleAdd a bullet correctly below the text in the previous line.
Hi All,I know how to add bullets in a word doc, but I dont know how to set the range.listformat.leftindent property to match this particular reuirement i.e1.1.1. some text (add a bullet...
View ArticleTOC VSTO creating and updating problems
Hey,i'm tring to create Word document contains: Main Page(image and title), TOC at second page and some Chapters with text next. (each chapter a new page)I have some problems :when i add InsertBreak, i...
View ArticleExcel-file that looks right but it shows a different informations when you...
We'd a problem within an Excel-file that looks right in the word-document and in the preview, but it shows a different informations when you print it or convert it to PDF-file. { EMBED Excel.Sheet.8 }...
View ArticleUndoRecord - Range.InsertXml
Hi,I'm trying to group Range.InsertXml calls in an Undo scope but they're not grouping.Is it possible to group Range.InsertXml calls?I'm able to group Range.InsertBefore, Range.InsertAfter etc...
View ArticleVB.net – how do you set a variable to get ActiveDocument name
I have an existing Word session runningA word document is open – DocumentOneI would like to obtain and set a variable to DocumentOneA second document is opened – DocumentTwoI would like to obtain and...
View ArticleWord 2013, RelativeHorizontalPosition does not work as it did in Word 2003
Hi all,I am struggling with a small macro that is supposed to put a textbox in the margin of a paragraph. This used to work just fine in Word97/2003 but somehow it does not in Word 2013. The text box...
View ArticleHow to use documentbeforesaved method? And why my code doesn't work in...
Can someone help me with these two codes?----Beginning of code 1------------- Private WithEvents App As Word.Application Private Sub Document_Open() Set App = Word.Application End Sub Private Sub...
View ArticleHeaders 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 ArticleWord 2013 and Active Directory attribut
Hi, I'm working with WS2008R2 SP1 AD and Office standard 2013 and W7 SP1 x64. Our compagny wants to create .dotm/.dotx with automatic fields. For example, we want that when a user opens a .dotx his...
View ArticleVB6 application crashes while trying to print microsoft word document using...
I am using VB6 application to print MS word by loading all windows printers in my application. Irrespective of printing a document or not when I load these printers in a screen and cancel of the screen...
View ArticleRelationship of .dot to .doc files?
There is a small Word application embedded in my PowerBuilder application. I have never worked with Word programming, although I'm familiar with VBA via MS Access, and once long ago from Excel. My...
View ArticleMail merge via COM automation with directory template
Hi AllIf you setup a directory list merge temple in Word, associate it with a CSV file and run a merge it works as you would expectIf you take this same template and open it via COM, associate the data...
View ArticleForce Add-in Loading Timeout
I have a shared add-in that calls a WCF service on load. When the service is not reachable the add-in stalls on the word splash screen for exactly 20 seconds. I want to somehow force the add-in to...
View Article