Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-01-2018, 02:23 PM
jtwite jtwite is offline Macro to protect document leaves brackets where the cursor is Windows 10 Macro to protect document leaves brackets where the cursor is Office 2010 64bit
Novice
Macro to protect document leaves brackets where the cursor is
 
Join Date: Mar 2018
Posts: 6
jtwite is on a distinguished road
Default Macro to protect document leaves brackets where the cursor is

Hello,

I have a issue that I just cannot find an answer to. I have some macros set up to protect a document in track changes and to protect a document for filling in forms. I activate the macro using a keyboard combination. The macros work fine, but wherever my cursor is when I hit the keyboard combination it leave a gray bar, or brackets if you type anything. Here is the code that I am using:



Sub Fillable ()
'

'Fillable Macro
'
Selection.Editors.Add wdEditorEveryone
ActiveDocument.Protect Password:="", Type:=_
wdAllowOnlyFormFields

End Sub

Any help would be greatly appreciated.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to protect document leaves brackets where the cursor is find and delet all text within brackets and the brackets themselves wrdy Word 2 08-03-2017 06:55 PM
editable and protect document soninha Word 1 03-30-2015 12:20 PM
Macro to protect document leaves brackets where the cursor is Brackets around entire contents of document Susan Carol Word 5 02-01-2015 08:55 PM
Macro to protect document leaves brackets where the cursor is Password Protect a Macro Mark212 Word VBA 2 01-14-2015 02:30 PM
Why does Word 2007 open my document with {SEQ ...} brackets? Ferenc Nagy Word 4 02-28-2013 11:20 AM

Other Forums: Access Forums

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