Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MoveLeft parameters for .NET Word interop? 1

Status
Not open for further replies.

ProtocolPirate

Programmer
Nov 21, 2007
104
US
I want to move left two characters after a selection.find executes, backspace twice (over spaces) and insert insert a single character of a different font (an X in arial black) of equal width. Find I figured out, but I can't figure out where to find the imported constants are for the unit type (the first parameter--wdCharacter in this case).

Where do I find the Unit type constants that are imported with the Word interop library?
 
Hi ProtocolPirate,

I use the ObjectViewer(F2) in VBA-screen to find the contants for the diffrent parameters.

wdCharacter = 1

Greetings,
Ernst Jan


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top