![]() |
|
|
|
#1
|
|||
|
|||
|
Hey all,
I have a form field, let's call it "myIndex", that I would like to grab the contents of. Can anyone explain why this code functions properly: Code:
Sub test()
MsgBox ActiveDocument.FormFields("myIndex").Result
End Sub
Code:
Sub test()
Dim myString As String
Set myString = ActiveDocument.FormFields("myIndex").Result
End Sub
Quote:
Last edited by boCash; 04-04-2017 at 01:01 PM. Reason: Solved |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Updating/Locking FormFields | Maskot | Word VBA | 4 | 06-24-2015 04:40 AM |
Result Calculator
|
Raza | Excel Programming | 7 | 01-26-2015 11:35 PM |
Mailmerge and Formfields
|
Liosis | Mail Merge | 4 | 03-07-2014 12:56 PM |
| Renaming Word Formfields: string too long error | silverspr | Word VBA | 7 | 01-22-2013 06:20 PM |
How can I get the conditional result?
|
Learner7 | Excel | 1 | 02-02-2011 03:16 AM |