![]() |
|
|
Thread Tools | Display Modes |
#5
|
||||
|
||||
![]()
Presumably this relates to your other thread, in which case, immediately after the DIM statements at the top of the macro, enter or copy the following.
Code:
Dim oFF As FormField For Each oFF In ActiveDocument.FormFields If oFF.Result = "" Then oFF.Select MsgBox "Field cannot be left empty" GoTo lbl_Exit End If Next oFF
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
derajlance | Word VBA | 6 | 05-05-2016 07:40 AM |
Submit to Email Command Button | rob7676 | Word VBA | 0 | 08-20-2015 05:05 AM |
![]() |
oduntan | Word VBA | 4 | 03-21-2013 02:15 PM |
![]() |
bigbird69 | Word VBA | 13 | 11-18-2012 10:06 PM |
![]() |
tinfanide | Word VBA | 2 | 12-02-2011 05:51 AM |