Hi =?Utf-8?B?UGhpbA==?=,
[Quoted Text] > I am creating a class to connect to Microsoft Word using ClassWizard and the > object library MSWORD.OLB. > > Most of the function calls in this class use the Varient type to pass > parameters, but I cannot find the actual values for the enumeration types so > I can pass in that value. Does anyone know how or where these enumeration > types are defined. > > For example, WdUnits is composed of wdCharacter, wdWord, wnSentence, etc. >
Open Word. Press ALT+F11. Press F2 - this opens the object browser. Display the "search" toolbar (the binoculars), type in the enum (wdUnits), press Enter.
Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-)
|