Precedents, merge codes and macros: your document bank in a new system
A firm’s precedent bank is years of work: hundreds, sometimes thousands, of letters and documents, each full of merge codes pointing at the old system’s data, and some driven by macros. None of it works in a new system until it has been converted.
Merge codes belong to the old system
Every merge code points at a field in your current system. In a new system, each one has to be mapped to the equivalent field, and if the data was not migrated to that field, the document comes out blank or wrong. Precedents and custom data are one problem, not two: design the data first, then convert the documents to use it.
Macros and VBA
Many older precedents use VBA macros to ask questions, choose wording or calculate figures. That has consequences when moving to a modern, browser-based system:
- VBA does not run in Word for the web or on mobile devices, so macro-based precedents tie users to desktop Word.
- There is no automatic conversion from VBA to Microsoft's web add-ins, which use a different technology. Macro logic has to be rebuilt.
- Microsoft blocks macros by default in files that come from the internet, and many firms restrict macros further for security reasons.
Some systems support macros or their own desktop add-ins in Word; true software as a service generally will not. Decide which you need before you choose.
Where should the logic live?
When the same rule lives in a workflow, a macro and a precedent, every change has to be made three times, and they drift apart. The cleaner design is for decisions (which letter, which clause, which next step) to sit in the system's workflow and data, using its document assembly for conditional wording, so precedents only present the answers. A change is then made once.
Updating the precedent bank
- Inventory and prune: list every precedent with its owner and how often it is used. Most banks contain duplicates and documents nobody has opened in years.
- Agree the conversion approach and cost: bulk conversion tools for merge codes, manual rework for complex documents, and who does each.
- Rebuild, do not replicate: use the move to replace macros with the new system's document assembly, and to standardise wording.
- Test on migrated matters: generate each kept precedent from real migrated data before go-live, not from test data.
- Give each precedent an owner and a review date, so the bank stays current.
What to ask, and what to see
- Convert three of our most complex precedents during the selection, and generate them in Word for the web.
- How are merge codes converted, in bulk or by hand, and who pays?
- How is conditional wording handled without macros?
- How do precedents use custom data, including repeating groups?
Technical notes: small decisions, big consequences
Start with the overview: The details that decide the project
Accounts and finance
- Core accounting is still the gold standard
- One-way or two-way sync? Connecting your legal system to Xero
- Units or minutes? How time is recorded
- Your matter and nominal structure
- Making Tax Digital: the firm and its clients
Workflow, data and documents
- Workflow: deep, basic or none?
- Client onboarding and matter inception: portal, e-signature and ID checks working as one
- Custom data: what you rely on, and how you move it
- Precedents, merge codes and macros: your document bank in a new system (you are here)
Your types of work
- Legal aid: your records, not just the Legal Aid Agency’s
- Litigation: Precedent H starts with time recording
- Family: Form E and financial disclosure
- Private client: where does the tax software fit?
Security and access
- Roles or individuals? How user permissions are set up
- Why manage security twice? Linking application security to Microsoft Entra
- How granular is the security inside the system?
- Who can see what in reporting?
- Shared platform, your data: separation, restore and erasure
- When the supplier is the target: where your data lives, who can reach it, and your real risk
Microsoft 365
- How does it connect to Outlook?
- What did you just give it permission to do?
- What happens behind the scenes? Background integrations with Microsoft 365
- OneDrive is not a document management system
- Microsoft 365 is not a backup
Data and decisions
Where does your firm stand?
Our free practice management review shows how much of your current system you really use and, if you are thinking of moving, builds an independent requirements specification that takes your reasons into account. Nothing is sent to us.
Start the free review Talk to us