Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2016, 04:25 AM
highrise955 highrise955 is offline Protecting Document via VBA Not Working Windows 10 Protecting Document via VBA Not Working Office 2013
Advanced Beginner
Protecting Document via VBA Not Working
 
Join Date: Mar 2016
Posts: 37
highrise955 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
The code is designed to run when you exit the last content control in the table (whose structure is impossible to determine from your post), regardless of how you exit it. Shift-Tab will take you to another content control, but you could just as easily use the mouse to click anywhere else in the document. As for your "Evaluation" content control, I can't see the point in having it if:
Yeah, I really don't need the "Evaluation" CC.

I'm not sure what you mean by "structure" of my table.

Could I modify your code so it would only activate when the user exited the "Method Of Inspection" CC? I assume I would do some kind of "SelectContentControlByTag" method but I'm not sure where to put it or how to do it without mucking up your code.
Reply With Quote
  #2  
Old 03-13-2016, 04:48 AM
macropod's Avatar
macropod macropod is offline Protecting Document via VBA Not Working Windows 7 64bit Protecting Document via VBA Not Working 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 highrise955 View Post
I'm not sure what you mean by "structure" of my table.
I meant precisely what I said. The text you originally posted to depict your table gave no indication of its structure. I see you have since modified the post to include an image of the table.
Quote:
Originally Posted by highrise955 View Post
Could I modify your code so it would only activate when the user exited the "Method Of Inspection" CC? I assume I would do some kind of "SelectContentControlByTag" method but I'm not sure where to put it or how to do it without mucking up your code.
Rather than me re-writing the code, have you tried deleting the "Evaluation" content control?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-13-2016, 04:52 AM
highrise955 highrise955 is offline Protecting Document via VBA Not Working Windows 10 Protecting Document via VBA Not Working Office 2013
Advanced Beginner
Protecting Document via VBA Not Working
 
Join Date: Mar 2016
Posts: 37
highrise955 is on a distinguished road
Default

[quote=macropod;97351]
Quote:
Originally Posted by highrise955 View Post
I'm not sure what you mean by "structure" of my table.
I meant precisely what I said. The text you originally posted to depict your table gave no indication of its structure. I see you have since modified the post to include an image of the table.

Rather than me re-writing the code, have you tried deleting the "Evaluation" content control?
Sorry about that. After I posted the message I noticed my original pic of my table didn't come up right. I then modified the message with a link pic of the table.

Yes, I tried removing the "Evaluation" CC but just like before, the Tab key does nothing (meaning it doesn't move out of the CC it is residing in) since I am in the last CC of the document.
Reply With Quote
Reply

Tags
protect, unprotect, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Protecting Document via VBA Not Working Spell out a number without protecting a document vera Word VBA 2 05-20-2016 07:35 AM
Protecting document brucemc777 Word 2 01-23-2016 02:38 PM
Protecting Document via VBA Not Working Cant type into content controls in a form after protecting document using macro rgburridge Word VBA 4 01-27-2015 02:37 PM
Disabling content controls and protecting document sections. Catty Word VBA 2 11-29-2013 05:10 AM
Protecting Word Document by restricting access permissions! user Word 0 11-20-2008 01:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:56 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