Hi, … I’m in a regulated environment. I have created a template for my users. Because of the regulation, my users are not allowed to save the document at all, they can fill it out and print it only. Can the Save feature be disabled in the template. (I do need to update the template occassionally, so I would like to Save the template itself, just not the workbook it creates). Any clues would be appreciated. Thanks,
–cat
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Disable Save in Template (Excel 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Disable Save in Template (Excel 2000)
- This topic has 3 replies, 3 voices, and was last updated 22 years, 5 months ago.
AuthorTopicWScatoothaker
AskWoody LoungerJanuary 7, 2003 at 1:28 pm #381479Viewing 1 reply threadAuthorReplies-
WSAndrew Cronnolly
AskWoody LoungerJanuary 7, 2003 at 1:40 pm #643023When saving the template set a password to modify and recommend Read-Only. That should enable password holders only (yourself) amend the document but prevent saving by others.
To disbale SaveAs include the following code in the ThisworkBook module :
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) If SaveAsUI = True Then Cancel = True End If End Sub
Also include the following to prevent Excel prompting to save when the workbook is closed :
Private Sub Workbook_BeforeClose(Cancel As Boolean) Me.Saved = True End Sub
Andrew C
-
WSpieterse
AskWoody LoungerJanuary 7, 2003 at 1:50 pm #643030Andrew’s suggestions will not prevent a user from saving once the template is opened with macros disabled.
To make it more difficult for a user to save, hide the relevant sheets of the template and keep one visible, which tells the user that unless he/she opens the sheet with macros enabled, nothing can be done with it. Then protect the workbook’s structure (Tools, protection, workbook).
Then use the opening code to unprotect the workbook, unhide the sheets they need to see and print and use the code samples Andrew suggested to prevent them from saving.
Don’t forget tp protect the workbook again before your code is done, or they will be able to copy sheets out of your workbook into a new one and then save that….Of course the VBA literate users might access the code and still get away with saving, so you would have to hide the VBA project from view as well.
-
WScatoothaker
AskWoody Lounger
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
LibreOffice 25.8. No Windows 7, 8/8.1, x86
by
Alex5723
3 hours, 40 minutes ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
15 hours, 51 minutes ago -
June KB5060842 update broke DHCP server service
by
Alex5723
14 hours, 23 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
18 hours, 25 minutes ago -
Excessive security alerts
by
WSSebastian42
14 hours, 6 minutes ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
1 day, 3 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
12 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
15 hours, 2 minutes ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
3 hours, 54 minutes ago -
OS news from WWDC 2025
by
Will Fastie
1 hour, 10 minutes ago -
Need help with graphics…
by
WSBatBytes
6 hours, 12 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
1 day, 19 hours ago -
Totally remove or disable BitLocker
by
CWBillow
18 hours, 29 minutes ago -
Windows 10 gets 6 years of ESU?
by
n0ads
21 hours, 44 minutes ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
2 days, 6 hours ago -
Search Forums only bring up my posts?
by
Deo
34 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
2 days, 17 hours ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
2 days, 10 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
2 days, 18 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
3 days, 4 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
3 days, 5 hours ago -
Disengage Bitlocker
by
CWBillow
2 days, 19 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
3 days, 7 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
38 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
3 days, 14 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
3 days, 14 hours ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
3 days, 18 hours ago -
New PC transfer program recommendations?
by
DaveBoston
1 day, 23 hours ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
3 days, 22 hours ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
3 days, 22 hours ago
Recent blog posts
- Ben’s excellent adventure with Linux
- Seconds are back in Windows 10!
- WebBrowserPassView — Take inventory of your stored passwords
- OS news from WWDC 2025
- Best tools for upgrading a Windows 10 to an 11
- Master patch listing for June 10, 2025
- 24H2 may not be offered June updates
- June 2025 updates are out
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.