Article ID: 948682 - View products that this article applies to.
Consider the following scenario. You install the OEM version of the 2007 Microsoft Office system. You start Microsoft Office Word 2007. In the Immediate window of the Microsoft Visual Basic Editor, you run one of the following Microsoft Visual Basic for Application (VBA) commands:
Note This issue may not occur for all computers that are running the OEM version of the 2007 Office system. Also, this issue may not occur for all VBA commands.
Runtime Error '4120'
This issue occurs because the NoUserName option is set to true when the OEM version of the 2007 Microsoft Office system is installed. Therefore, a blank UserInfo registry entry is created, and the user name and the initials are blank.
The user name and initials are stored in the following registry location:
To resolve this issue, add the user name and the initials in the Word Options dialog box.
To do this, click the Microsoft Office Button, click Word Options, enter a user name and initials under Personalize your copy of Microsoft Office, and then click OK.