Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-26-2015, 12:09 PM
rgburridge rgburridge is offline Cant type into content controls in a form after protecting document using macro Windows XP Cant type into content controls in a form after protecting document using macro Office 2007
Novice
Cant type into content controls in a form after protecting document using macro
 
Join Date: Jan 2015
Posts: 3
rgburridge is on a distinguished road
Default

Thanks for that. Interestingly it seems the problem only occurs when the macro is run from a command button on the page. If I run it from a button on the quick access toolbar it seems to work, but when from the commandbutton I get the same thing, ie I can't type in the CCs until I have re-clicked elsewhere on the page first. . I had not realised there was a difference when I posted the query, so I guess my follow up question is why does this situation change when the macro is run from a commandbutton on the page? I assume there is some issue around what is 'selected' but I don't know enough to be able to 're-select' the table after locking so I can type into the CCs.

I am running the macro using the call function for the command buttons btw:

Private Sub CommandButton21_Click()
Call Project.LockUnLock

End Sub

Many thanks
Reply With Quote
 

Tags
protected view



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating and using a template (online form with content controls) Esme Word 2 10-17-2014 07:18 AM
Cant type into content controls in a form after protecting document using macro Updating an old form with Content Controls Something Anon Word 4 03-26-2014 03:53 PM
Disabling content controls and protecting document sections. Catty Word VBA 2 11-29-2013 05:10 AM
Macro to link 2 content controls bortonj88 Word VBA 2 08-21-2012 06:24 AM
Content Controls Form Programming beachdog Word VBA 4 09-20-2011 10:26 AM

Other Forums: Access Forums

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