Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Page Layout / April 2007

Tip: Looking for answers? Try searching our database.

Checkboxes- From 10 days ago...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DH - 12 Apr 2007 09:54 GMT
What's the proper way to bring up a question that was posted 10 days ago?
Hopefully the answer is to post the link, so here it is: (regarding
checkboxes).
http://www.microsoft.com/office/community/en-us/default.mspx?&lang=en&cr=US&guid
=&sloc=en-us&dg=microsoft.public.word.pagelayout&p=1&tid=a5f6eb08-2433-42c4-aebb
-7d70540f890d&mid=c2e3c9ab-8bf8-4d39-8e44-4d29fac9e36a

Bear - 13 Apr 2007 19:40 GMT
DH:

I downloaded the file you indicated. Those check boxes are macro button
fields. You can determine whether or not your check boxes are macro buttons
by right-clicking on one and seeing if the shortcut menu has Toggle Field
Codes. Click that command if it's there. You may see { MACROBUTTON Xxxx []}
where Xxxx is the name of the macro, and [] is my approximation of a checkbox
image.

In the downloaded file, these macro buttons were referring to a macro that
was not present. So you may need to open the VBE (Alt+F11) and see if you can
determine where the macros should be, and put them there. It may be that the
document contains a reference to a file that is now in a different location.
That was the problem with the downloaded FAX form.

Bear

Windows XP, Word 2000
DH - 13 Apr 2007 22:56 GMT
Thanks for the reply Bear. Now you've got me wanting to go back to the office
to check this out....! But, I think it can wait until Monday.
Thanks,
DH

> DH:
>
[quoted text clipped - 14 lines]
>
> Windows XP, Word 2000
Bob   Buckland ?:-) - 26 Apr 2007 13:33 GMT
Hi D.H. and Bear,

The version of the 'Professional' Fax cover sheet template thast shipped with Word (ProfFax.dot or Professional Fax.dot - depending
on Word version) prior to Word 2007 includes two autocorrect entries and two macros that provide the 'toggle' of check/unchecked
functionality behind the macro button check boxes.

The version of the same template on OfficeOnline
http://office.microsoft.com/en-us/templates/TC010129531033.aspx
does not include the macros or the autocorrect entries.

The autocorrect entries are basically two symbol characters one is the unchecked box the other is the checked one.

These are the macros included in the 'regular' version of the template that you can restore to the online download version.

'====First Line============
Sub CheckIt()

ActiveDocument.AttachedTemplate.AutoTextEntries("Checked Box").Insert Where:=Selection.Range

End Sub

'=================
Sub UncheckIt()

ActiveDocument.AttachedTemplate.AutoTextEntries("Unchecked Box").Insert Where:=Selection.Range

End Sub
'======Last Line==========

You can open the OfficeOnline Professsional Fax template, use Alt+F11 to enter the VBA editor.  Select there the current
(professional fax) template and then paste the above macros in.  Hover over the 'save button' in the VBA editor to be sure it's
saving the 'correct' template/document then save the macros into the template.

You'll still need to create the two autotext entries.

Fortunately <g> the process for creating checkbox toggles, using the macros and autotext entries from the original MS template, and
how to use different choices for the buttons is documented in the step by step article at:
 http://gregmaxey.mvps.org/Add_Toggle_Objects.htm

=========================
Thanks for the reply Bear. Now you've got me wanting to go back to the office
to check this out....! But, I think it can wait until Monday.
Thanks,
DH >>
Signature


Bob  Buckland  ?:-)
MS Office System Products MVP

 *Courtesy is not expensive and can pay big dividends*

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.