Expert Excel · Interactive lesson 11 of 12
Security, protection & deployment
A finished model still isn't done until it's packaged for someone else to run — protected where it should be, versioned, documented, and with a plan for what happens if the release turns out to be wrong.
Screens shown: Excel for Microsoft 365 for Windows. Practice works in any browser.
Written tutorialSecuring and Deploying Excel WorkbooksSkill check
Try these first:
- Protect a sheet's formulas while leaving inputs open.
- Explain what sheet-protection passwords actually do — and don't.
- Describe the risk of enabling macros from an untrusted source.
- Write a release checklist including a rollback plan.
All familiar? Skip ahead to E12 — Expert Capstone.
Concept teach
What you're learning
- Sheet & workbook protection
- Locks cells against accidental edits and hides formulas from casual view — a deterrent, built for that job specifically.
- Password limitations
- A sheet-protection password is easily bypassed by anyone determined to — it stops accidents, not a motivated attacker. Never treat it as real security for sensitive data.
- Macro security
- Macros from an unknown source can run arbitrary code — Excel disables them by default in downloaded files for exactly that reason. Only enable them for a source you actually trust.
- Trusted locations
- A folder Excel treats as safe, where macros run without a warning prompt — useful for your own vetted files, risky if set too broadly.
- External link risk
- A formula referencing another workbook breaks the moment that file moves, is renamed, or someone else can't reach it — a common source of "this used to work."
- Versioning
- A visible version number and date, updated every release — so two people don't end up editing what they each think is "the" copy.
- Release checklist
- The same short list run before every release — protection on, version bumped, release notes written, rollback plan named — every single time, not just when it's convenient.
- User acceptance testing
- Having an actual future user try the workbook before it ships — the fastest way to find the part that only makes sense to the person who built it.
Where to find it in Excel
File›Info›Protect Workbook · Inspect · Version History
Swipe sideways to see the whole window.
- 1File › Info.
- 2Protect Workbook: Encrypt with Password, Protect Current Sheet, Protect Workbook Structure. Sheet passwords stop accidents, not attackers; only encryption protects the file.
- 3Check for Issues › Inspect Document finds hidden sheets, comments and external links before release.
- 4Version History lets you roll back a release.
- 5Macro and trusted-location settings: File › Options › Trust Center.
Rendered view of Excel for Microsoft 365 (Windows). Ribbon layout can differ slightly on Mac, Excel for the web or a narrow window.
Guided build
Package this workbook for release. Check every item below, then generate the release notes.
Independent extension
Package a real workbook for distribution
Take a workbook you're about to share, protect the formulas while keeping inputs open, bump its version number, write one paragraph of release notes, and write a one-line rollback plan — what you'd do if the new version turns out to be wrong after someone's already using it.
Spot a mistake or have an idea for this lesson? Send feedback