![]() |
|
#4
|
||||
|
||||
|
I've added a macro to the file and included a button on the Quick Access Toolbar to run that macro. The macro is below...
Code:
Sub ClearForm()
Dim aCC As ContentControl
For Each aCC In ActiveDocument.ContentControls
aCC.Range.Select
If aCC.Type <> wdContentControlDropdownList Then
aCC.Range.Text = ""
Else
aCC.Type = wdContentControlText
aCC.Range.Text = ""
aCC.Type = wdContentControlDropdownList
End If
Next aCC
End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| button "clear format", etc; anchors, functions and properties of OpenType, negative width of symbol? | tvan | Other Software | 1 | 07-18-2018 03:55 PM |
| Using outlook form to enforce field to be filled in | megatronixs | Outlook | 1 | 01-21-2015 01:11 PM |
| Text form filled shading | Barbara | Word | 2 | 04-25-2013 05:21 AM |
Add a "SAVE" Button to a form template?
|
Dave L | Word | 9 | 03-21-2012 07:04 PM |
| How can create a form in Word 2007 that can be automatically filled? | artistech | Word | 0 | 08-04-2010 01:05 PM |