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

ID: Q236478


The information in this article applies to:
  • Microsoft Office 2000 Developer


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 'path\form name.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 this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

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 kbdta modMultiCodeImpExp
Version : :
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.