Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2016, 09:06 AM
eking eking is offline Creating a Password Protected Template with Macros Windows 10 Creating a Password Protected Template with Macros Office 2016
Novice
Creating a Password Protected Template with Macros
 
Join Date: Dec 2016
Posts: 4
eking is on a distinguished road
Default Creating a Password Protected Template with Macros

Hello All,



I am trying to create a password protected template with a macro in MS Word 2016, and I'm having a bit of difficulty. I've found methods for this in versions up to Word 2003, but I can't find it for versions after. Suggestions?
Reply With Quote
  #2  
Old 12-20-2016, 11:15 AM
Charles Kenyon Charles Kenyon is offline Creating a Password Protected Template with Macros Windows 10 Creating a Password Protected Template with Macros Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,082
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

What is it you are trying tho protect with the password? The vba code?
Reply With Quote
  #3  
Old 12-20-2016, 12:05 PM
eking eking is offline Creating a Password Protected Template with Macros Windows 10 Creating a Password Protected Template with Macros Office 2016
Novice
Creating a Password Protected Template with Macros
 
Join Date: Dec 2016
Posts: 4
eking is on a distinguished road
Default

I'm trying to keep the entirety of the document static apart from form fields. The macro is a spell checker for the form fields.

So I suppose I'm restricting editing with password protection as opposed to creating 'a password protected template'. And yes, I would still prefer to save the document as a template.
Reply With Quote
  #4  
Old 12-20-2016, 01:05 PM
macropod's Avatar
macropod macropod is offline Creating a Password Protected Template with Macros Windows 7 64bit Creating a Password Protected Template with Macros Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Since you're using formfields, you'll need to apply Word's 'filling in forms' protection, which can take a password. If you do that, your spell-check macro will need access to that so the form can be unprotected for spell-checking purposes. You can add the forms protection password to the code so no-one needs to have access to it to run your spell-check macro. Your VBA project, too, can be password protected so no-one else can open that to view the password used for the forms protection.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
macros, restrict editing, templates

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros don't work in password protected file. Auto Excel Programming 2 06-29-2016 12:17 AM
Creating a Password Protected Template with Macros creating a content control that is password protected kawtharz Word VBA 5 08-21-2015 12:50 AM
Creating a Password Protected Template with Macros When creating new template from established template macros getting lost. TechEd Word 3 06-09-2014 07:22 PM
Password protected file no longer offers password dialog on Open htaylor Word 0 10-15-2013 12:35 PM
Creating document from template but macros are still linked to template webharvest Word 0 07-16-2011 09:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:42 PM.


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