Is it possible to add (thru the MS Word object model? or by editing file) some custom data (another file maybe?)
Will be that data preserved after opening, changing and saving document in MS Word ?
(I need to put some tracking data in docx during some report export, custom data will be used again during import)
...
how to convert html page to excel using html code
...
I'd like to make first letter on each sentence bold in a MS Word document. What would be a good way to accomplish this?
...
I created a Shared AddIn using Visual Studio 2008, C#. In the AddIn, I get data from a database, populate it into a Dictionary object, and use Word's builtin FindReplace to replace text inside a WordTemplate with the data from the database.
Dictionary<string, string> myDBData = new Dictionary<string, string>();
Some of the db fields...
Our customer has tens of thousands of correspondence letters in Word 2007 format. They need to combine all the letters into a single large PCL file, which is then sent to the print vendor for bulk printing.
From what i understand PCL content is generated by a specific printer driver. So whether interactively or programmatically with VBA...
I am trying to have letter templates (word documents) that are stored in sql server VarBinary(max) to be accessed via a web application where they will be edited and saved back to sql server by directors of our company. Then various managers will be able to select an existing template (word document), make any additions, and mail merge ...
I would like to be able to send the contents of a merged word document to a database, either on a button click on the menu bar, or when closed (if saved).
I've found some working code but have a problem trying to modify it (VBA noob)
'Written: June 11, 2008
'Author: Leith Ross
'Open the Internet object
Private Declare Function Inter...
I'm trying to send data from a word document to a web page. Ive found some code and pasted it into a new module and saved it, but when I run it I get "compile error, user defined type not defined"
Sub http()
Dim MyRequest As New WinHttpRequest
MyRequest.Open "GET", _
"http://www.google.com"
' Send Request.
MyRequest...
The purpose is to generate proposal documents that can manually be edited in Word after the fact, but before sending them out to the customers.
Much proposal content would be drawn from existing HTML website content (backing CMS) and also some custom (non-HTML) injection for certain scenarios. Of course the conditional logic could ...
I have a library that generates Word documents using the OpenXML SDK, one of the functionalities of the library is the generation of tables with formulas on the last row (such as SUM(ABOVE)).
Word has these functions built-in, but when generating the document I have to assume that Word isn't installed on the machine.
The problem is tha...
I have been trying to open a Word document using C# in VS2010. But I have been successful so far. I have tried searching for answers but all in vain. In the reference section, I cannot see the Microsoft Word office library (any version) in the COM tab. I added the Microsoft.Office.Interop.Word. version 14 from the .Net tab, but still i g...
Word 2007 allows XML schemas to be attached to a document (under the Developer toolbar | XML group | Schema button). Where is this schema library information stored?
I have documents that I have created with custom XML tags based on a schema but when I pass on the document and the schema to someone else the schema is marked as unavailab...
I need to break open a MS Word file (.doc) and extract its constituent files ('[1]CompObj', 'WordDocument' etc). Something like 7-zip can be used to do this manually but I need to do this programatically.
I've gathered that a Word document is an OLE container (hence why 7-zip can be used to view its contents) but I can't work out how to...
In this tutorial (and many others), there's an integer in the CustomXMLParts object collection Load method that I can't find an explanation for. The Word 2007 VBA Reference doesn't seem to list the Load method either:
''# Load CustomerData.xml file
ActiveDocument.CustomXMLParts.Add
ActiveDocument.CustomXMLParts(4).Load ("c:\Custo...
Usually CSV and excel file format will be used to import data as it is easy to extract data programatically. My users doesn't like excel file format for data entry, they like word document. But I am not sure how to extract data from Microsoft word document. Has anyone tried? do you have any suggestions?
Found this link, but not sure how...
Do Word documents have any scripting capabilities for presenting dynamic information? What I want to do is have the document dynamically pull in the contents of an HTML file and append it at the end of the document every time it is opened.
Anybody know if this is possible?
...
Unsure of the best way to bind a a drop-down list Content Control to an XML file properly: all I'm getting is the first item.
I'm assuming I'll have to iterate through the XML document, count number of items, and then call the .Add method on the control accordingly, but I'm not sure how to do that in VBA.
Here's what I have:
Dim ap ...
Hi,
I am using Qt 4.5.3 and Windows XP. I need my application to generate documents that contains the information that is being used and generated. The information that is being used will be just strings (QString to be more specific) and the information that is being generated will be strings and images as well.
I want documents to be ...
Hi All,
How can I perform automation of MS Word documents (.doc) or ODF documents (.odt) in Qt 4.5? I know using the QAxWidget, QAxObject.
I have data (QString) and few images as well. I have to add them into the document. I googled but I couldn't find any commands for MS- Word/ ODF. But I want the specific commands that should be pas...
Hello
I am trying to generate word documents using the mail merge feature in Microsoft Word. To be as clear as possible my dream would be to:
(1) Place all values for all documents to be created in one excel document
(2) Use Word to create a template by selecting the above excel file as the data sheet
(3) Run a macro that would use th...