IT Nota

  • Home
  • How To
  • .NET
  • WordPress
  • Contact

How to Solve MS Office VBA Compile Error UserAuthentication

This is such a persistent issue that hopefully will die down soon. In a corporate world where there are so many legacy systems though, and this comes up more than we want to admit.

This happened in one corporation that has one department relies on various macro-enabled Microsoft Word documents to process requests. One morning, one processor encountered a Visual Basic for Applications error in one of their Microsoft Word forms.

MS Word VBA Compile error UserAuthentication

Microsoft Visual Basic for Applications

Compile error in hidden module: UserAuthentication.
This error commonly occurs when code is incompatible with
the version, platform, or architecture of this application. Click
"Help" for information on how to correct this error.

When you encounter this, right away check both the MS Word doc (or docx) file and what version of MS Words is used to open the file.

As the error indicates, the keyword here is code incompatible with the version… of this application.

In our case, we did not have to check their document library since we know their forms were really old. So we just needed to check their MS Office version.

If you use MS Word 2016 or later, just go to File, Account and click on About Word and check on the header. In this very specific case, the end user used a 64-bit version of MS Word to open the old document and that was the cause of error.

Microsoft Word 64-bit Version

Once we have this information, there were two options that the client could take. Either, the forms need to be rewritten or the user’s MS Word need to be downgraded to a 32-bit version. The latter option of course is easier and faster.

The client opted for a downgrade to resolve the issue.

January 24, 2022 Filed Under: How To Tagged With: Microsoft, Office

Copying Outlook Signatures From Other Computer

Microsoft Outlook Logo If you have created Outlook email signatures and you migrated to a new system, these signatures can be copied from the old computer so you can then use the signatures with Outlook on the new system.

The assumption of the example below is that the hard drive of the old system was attached to the new system on drive D.

Because the Signatures folder is a hidden folder, the easiest way to open the folder is to use the command %APPDATA%\Microsoft\Signatures from the Start menu. Please note the difference between older and newer Windows OS (see below):

Windows XP

D:\Documents and Settings\ITNota\Application Data\Microsoft\Signatures

Windows 8.1

C:\Users\ITNota\AppData\Roaming\Microsoft\Signatures

Copy the whole contents of the old directory to the new one. That’s it.

Update older signatures

For signatures created in older versions of Outlook, you should update the signature files so that they use revised HTML code that uses cascading style sheets (CSS). This helps prevent potential problems when switching or deleting signatures in a message.

  1. Click the File tab.
  2. Click Options.
  3. Click Mail.
  4. Under Compose messages, click Signatures.
  5. In the Signatures and Stationery dialog box, in the Select signature to edit list, click a signature.
  6. Click in the Edit signature box, and then click Save.

Further Reading

Copy email signatures to another computer

April 19, 2014 Filed Under: How To Tagged With: Microsoft, Office

Buy me a coffee Support this site
Buy Me a Coffee?

Categories

  • .NET
  • Coding
  • Cybersecurity
  • Database
  • How To
  • Internet
  • Multimedia
  • Photography
  • Programming
  • Resources
  • Review
  • Tips and Tricks
  • Uncategorized
  • Use Case
  • WordPress
  • Writing

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Tags

.NET .NET Core AdSense ASP.NET Cdonts Dll Classic ASP Code Editor ETL FSharp Genesis Framework Git Google HP Asset Manager HTML5 Hugo IIS Information Security Internet Internet Information Services iOS JAMStack Linux macOS Microsoft Microsoft SQL Server MVC PHP PowerShell Python Simple Mail Transfer Protocol Smtp Server SQL SQL Server SSIS SSMS SSRS Sublime Text Visual Studio Visual Studio Code VPN Windows Windows 8 Windows 10 Windows 2012 Windows Server

Copyright © 2011-2025 IT Nota. All rights reserved. Terms of Use | Privacy Policy | Disclosure