From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the values to be passed to a MS-Word Activex Function ? Ex: Selection.MoveEnd(UNIT,COUNT)

The Word Help tells me that some variables are like wdCharacter, wdLine, etc. But how can I know the values to be passed ?
0 Kudos
Message 1 of 2
(2,224 Views)
Start MS Word,
Press Alt+F11 (Run MS VBA)

Press Ctrl+G (Goto Imediate pane)
Type: ? wdCharacter

Or F2 - Show Object Browser, Select Word library goto Classes ...

"RA Eletro" wrote in message
news:50650000000800000059350000-1007855737000@exchange.ni.com...
> The Word Help tells me that some variables are like wdCharacter,
> wdLine, etc. But how can I know the values to be passed ?
Message 2 of 2
(2,224 Views)