Automated Save As after MailMerge and .Destination = wdSendToPrinter in VBA
Hi Professionals,I am running Win7 MS Office 2010 and Visual Basic 6.5.I am trying to automate a .pdf Output and came so far to only enter a filename for the printed .pdf. Since the outfile is to have...
View ArticleMicrosoft Interop word dll in .net
I have used interop word dll in document automation tool.change in word 2010 to 2013 dll not perform same fuctionallity.I have update dll version 15.0 library.TOC table of content is deleted after...
View ArticleReplace Paragraph Marks Between 2 Words
Hi friends, I am trying to search and replace some paragraph marks between 2 place holders text Example all the paragraph marks between CP100 and CPX replace with a # I have got started but am now...
View ArticleWord 2010 Autosave/ Autorecover location change via command line
HelloI need to create a batch file or some kind of script that changes the Auto Save and Auto recover location from network shared drive to local c: on 2000 computers.is there a way to do so? How do I...
View ArticleAuto-file name from bookmarks
Hello, I am hoping to auto-file name a word 2007 document with four defined bookmarks within the document itself.The four bookmarks are:Product_NameProduct_GroupVersionDate: DD/MM/YYYYIs this possible?...
View ArticleInternal properties for Word Document
Hello,I am accessing below property using Word Interop in C# application.hasPrintRevisions = wordDocument.PrintRevisions; trackRevisionsEnabled = wordDocument.TrackRevisions; showRevisionsEnabled =...
View ArticleTried to run this code to learn how to use styles in word doc. Got several...
Athttps://msdn.microsoft.com/en-us/library/office/ff841014.aspxhas problems noted below.Private Sub CommandButton1_Click()Dim docActive As DocumentDim strMessage As StringDim styleLoop As StyleSet...
View Articlevb and word
hi friends i set a button to open a word document and i need to know how can i fill my doc. table by vb2010 LIKE THIS PHOTO
View ArticleHow to integrate Ribbon costum XML Chema into .dotm template WORD 2016?
I tried todo it like Word 2010. After change "_rels\.rels"Igot an error"The fileis not readable". I add this XML code into file :<Relationship Id="rID4"...
View ArticleValidating Ms Word Signatures from vb.Net application
I am trying to validate digital signatures contained in a Ms Word Document from a vb.Net Windows Forms Application. I am using Office Automation with late binding: wordApplication =...
View ArticleMicrosoft Word desktop app opening multiple connections when opening from...
I am collecting traces while doing an open/edit/save operation in MS Word, which is accessing a file from an on-premise SharePoint 2016 server that uses NTLM authentication. After inspecting the...
View ArticleWord file automation using Word dll... not getting index number... arr =...
Please find below link for document.https://1drv.ms/w/s!AosBvQwKMjJ4bSQgMrdSgr8-LHcMy environment : Visual studio 2013 MS Word 2013 Update dll version 15.0 library. arr =...
View Articlesubscribe to an event, declared in Word add-in
HelloI am developing an add-in to MS Excel, I have declared Macro interface in it, that can be used from VBA code in Word add-in like this:Set addIn = Application.COMAddIns("AddinName")...
View ArticleHow to assign a conflicting keytip to a control in Microsoft Office?
I tried assigning "G" as a keytip to my control but the Microsoft Office is changing it to "Ysomething". How can I force the Microsoft Office to use my assigned keytip? Or is there any work around to...
View ArticleHow to check if an MS Word is closed in C#
I am doing an application in C# which open exe files like notepad, calculator. So, my aim is when I open an exe file like Word, a button is created automatically and then when I close the Word app, the...
View ArticleFooter image lost when setting footer text
Hi,I have a problem when I update the text in a footer an existing image in the footer - e.g. company logo is removed and does not display anymore. How can I update the text and not affect any other...
View ArticlePrinting 2nd Document From Word Fails When Using Same Application Reference
I really not sure how to word the issue I am having. If you execute the code below, the second document will be corrupted when printed. If you uncomment the closing of the Word application and create...
View Articlehow to close a running instance of Word document? (C#)
Hello, I am doing an application in which when I launch a MS Word app, a button is created and when the MS Word app is closed the button is removed.So here is what I did to associate the MS Word and...
View ArticleHow to flow text around InlineShapes?
I want to set a InlineShape to flow text around that it. Also tried several properties en methods and cann't the right information.With ActiveDocument.InlineShapes(1) . ???End WithThanks
View ArticleSometimes user can't highlight text inside a RTF Content Control
Hi,I have a table with several rows (the entire table is blocked by a Group the user cannot remove);Inside each row I have a RTF Content Control the user can edit, but not remove.When part of the text...
View Article