A family of Microsoft word processing software products for creating web, email, and print documents.
The links in Suzanne's reply are broken, but the URLs are correct:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, so I am trying to create an Auto-open macro that will automatically type a reference number (e.g. CFO/BOA/F001) and sequentially increase the numerical part of the reference number when a new document is opened. Any ideas?
A family of Microsoft word processing software products for creating web, email, and print documents.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
The links in Suzanne's reply are broken, but the URLs are correct:
This should be an AutoNew macro in your template, not an AutoOpen.
Suzanne has led you to good sources for code on this. You will probably want to use the second one, either the Add-In or the code reference because the first one tries to write in the root directory and recent versions of Windows require special steps to do that.
Hello Suzanne, thanks for the link, but it said page not found. Do you have any other links?