|
This index page last revised: 06 Jan 2024 23:47:34 -0500 .
Option Explicit Sub AutoNew() AutoOpen ' so new document responds the same as opened document End Sub Sub AutoOpen() Options.ButtonFieldClicks = 1 Selection.HomeKey Unit:=wdStory Selection.NextField.Select End Sub Sub Check() ActiveDocument.AttachedTemplate.AutoTextEntries("Checked Box").Insert _ Where:=Selection.Range End Sub Sub Uncheck() ActiveDocument.AttachedTemplate.AutoTextEntries("Unchecked Box").Insert _ Where:=Selection.Range End Sub The AutoText entries are the macrobutton fields.
An alternative - Greg Maxey's Macros and Add-InsGreg Maxey has a very nice page on this at http://gregmaxey.com/word_tip_pages/add_interactive_toggle_objects_to_document.html.
Changes / suggestions / ideas can be sent to Charles Kenyon. This page viewed times since 14 April 2004. |
Many people visit this site and use the information it
contains.
Copyright 2000-2024 Charles Kyle Kenyon
FAQ provided as an adjunct / hobby as a part of my web site as a
criminal defense lawyer.
|