Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 6th, 2007, 10:29 AM
aml aml is offline
Registered User
Join Date: Jan 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Make Word Form Available for Use on Home Page

How can I make a Word form available on an Intranet site for many to use without everyone having to reset their Macro security to Low (which is against company policy)?

Also - using an On Entry macro, this form "checks" certain lower level check boxs depeneding on which check box is checked at the top of the form.

How do I also change the color of the "X" in the check box at the time it is checked. Thanks for your help.

Sub FillForm()
'Check to see which checkbox is checked
If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then
        If ActiveDocument.FormFields("Check2").CheckBox.Value = True Then
        End If
End If

End Sub

Sub StdROW()
ActiveDocument.FormFields("Check7").CheckBox.Value = False
ActiveDocument.FormFields("Check8").CheckBox.Value = False
ActiveDocument.FormFields("Check9").CheckBox.Value = False
ActiveDocument.FormFields("Check3").CheckBox.Value = True
ActiveDocument.FormFields("Check4").CheckBox.Value = True
ActiveDocument.FormFields("Check5").CheckBox.Value = True
ActiveDocument.FormFields("Check6").CheckBox.Value = True
ActiveDocument.FormFields("Check10").CheckBox.Valu e = True
End Sub

ActiveDocument.FormFields("Check3").CheckBox.Value = False
ActiveDocument.FormFields("Check4").CheckBox.Value = False
ActiveDocument.FormFields("Check5").CheckBox.Value = False
ActiveDocument.FormFields("Check6").CheckBox.Value = False
ActiveDocument.FormFields("Check7").CheckBox.Value = True
ActiveDocument.FormFields("Check8").CheckBox.Value = True
ActiveDocument.FormFields("Check9").CheckBox.Value = True
ActiveDocument.FormFields("Check10").CheckBox.Valu e = True
End Sub

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Link User control Form to Home page Dhanapal ASP.NET 1.0 and 1.1 Basics 1 March 12th, 2007 05:30 PM
VBA w/ Word 2000 - Make form on top of everything mvick VB How-To 10 October 2nd, 2006 09:28 AM
Reload Home Page qazi_nomi HTML Code Clinic 1 August 8th, 2004 12:22 PM
Renaming the home page derek Dreamweaver (all versions) 2 May 24th, 2004 12:33 PM
Overlaying image/flash, over the home page karib Flash (all versions) 7 April 26th, 2004 04:28 PM

All times are GMT -4. The time now is 11:29 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.