Microsoft KB Archive/236478

= MOD2000: Import of UserForm Not Successful When You Use the Multi-Code Import/Export Tool =

Article ID: 236478

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q236478



SYMPTOMS
The Multi-Code Export tool can export a UserForm to a file (with extension .frm), but the Multi-Code Import tool cannot import the same file directly back into the project. When you try to import the file, you receive the following error message:

60061 Errors During Load. Refer to ' \ .log' for more details



CAUSE
A UserForm with the same name is already in your project.



RESOLUTION
Change the name of the form file or rename the existing form in your project so that the names are not the same. To rename the form in the project, follow these steps:
 * 1) If Project Explorer is not displayed, click Project Explorer on the View menu.
 * 2) In Project Explorer, if the Forms icon has a plus sign (+) next to it, click it. Note that the form is listed there.
 * 3) Double-click the form to open it.
 * 4) If the property sheet for the form is not displayed, on the View menu, click Properties.
 * 5) Change the Name property of the form so that it is different from the name of the file.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) Open a Microsoft Office program, other than Microsoft Access, that uses the Visual Basic Environment.
 * 2) Press ALT+F11 to open the Visual Basic Editor.
 * 3) On the Add-ins menu, click Add-in Manager.
 * 4) Click VBA Multi-Code Import/Export, and then click to select the Loaded/Unloaded check box. Click OK.
 * 5) On the Insert menu, click UserForm.
 * 6) On the Add-ins menu click Multi-Code Export.
 * 7) Click UserForm1 in the Available Objects column, and then move it over to the Selected Objects column.
 * 8) Click Export and make note of the Target Folder location.
 * 9) On the Add-ins menu, click Multi-Code Import, and then browse to the Target Folder location that you noted in step 8.
 * 10) Click the form, and then click Import.

Note that you receive the error message described in the "Symptoms" section.

Additional query words: pra user form forms error

Keywords: kberrmsg kbbug kbpending KB236478

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.