Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-07-2015, 03:51 AM
macropod's Avatar
macropod macropod is offline Help Customizing Document Protection Windows 7 64bit Help Customizing Document Protection Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by bgmsd View Post
I am using Legacy text boxes because I like the formatting controls. I can prevent users from typing text in number only text boxes. Some text boxes should only have currency values, others should have numbers without decimal values.



If I use Content Controls, I can check the box to prevent users from deleting the content control, but they do not have any validation functionality. I could send the data to a VBA sub to do my own validation, but I don't see how I can fire an event after a user changes data in a content control.

Does anyone have any suggestions?
For that you'd use a Document_ContentControlOnExit macro.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 06-07-2015, 07:31 AM
bgmsd bgmsd is offline Help Customizing Document Protection Windows 7 32bit Help Customizing Document Protection Office 2010 32bit
Novice
Help Customizing Document Protection
 
Join Date: Jun 2015
Posts: 6
bgmsd is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
For that you'd use a Document_ContentControlOnExit macro.
Thank you. That is exactly what I decided to do. I am using the Content Controls now instead of the legacy text boxes. And I am using the OnExit event to validate the controls. I wrote my own validation subs.

Thanks,

David
Reply With Quote
Reply

Tags
protected form



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Customizing Document Protection Document enables protection after print ubns Word 1 09-12-2012 06:33 PM
Help Customizing Document Protection Protection bounces user to top of document aedmyr Word 2 04-13-2012 08:32 PM
Customizing outlook santh1987 Outlook 0 10-02-2011 09:06 AM
Document protection Daved2424 Word 0 11-17-2010 01:22 AM
Help Customizing Document Protection need help with document protection jknyc Word 1 06-22-2009 11:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft