Using VB code to access MS Word Functions Matmonk
This code is an example of how to use various functions contained within the Word Application object. To use this code you must first set a reference to the word libary then declare a word application object. This code shows how to use the search/ replace
Inputs : the code is looking for a document that was pre-setup as a template. the fields that look like "<>" are place holders in the template. The replacement values were generated by stored procedures run against a sql server database. If there is intere Assumes : make sure that you set a reference to the word object using the Project/References menu. Almost all variables (except those explicitly stated as local) are module level variables private to the class module. all the vbTab constants appended to the strings Code Returns : none [Get Api Declarations]
[Get Source Code] Original Source & Copyright : Planet-Source-Code.Com Using VB code to access MS Word Functions Author : "Matmonk"
learn microsoft VB code,
|