MS Word VBA template causes: “Runtime error ‘4120’ Bad parameter”

TSB1029 | Wednesday, 13 October 2010

This technical Support Bulletin applies to the OEM version of the 2007 Microsoft Office system.

Overview

Intersoft VBA templates include two sub routines that call Application.Options.Pagination property. Under certain circumstances this can cause “Runtime error ‘4120’ Bad parameter”.

Issue

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.

Solution

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.