Microsoft KB Archive/244238

= BUG: Cannot Reuse the Name of a UserForm =

Article ID: 244238

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 5.0
 * Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.0
 * Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.1
 * Microsoft Visual Basic for Applications 5.0
 * Microsoft Visual Basic for Applications 6.0

-



This article was previously published under Q244238



SYMPTOMS
When a user deletes a Microsoft Visual Basic for Applications (VBA) UserForm, and then creates a new UserForm and tries to give it the same name as the old UserForm, VBA displays an error:

File/Path Access Error



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



Steps to Reproduce Behavior
 Run any VBA-enabled application (such as Word 97). Show the VBA IDE and insert a UserForm. In the Properties window, change the name of the UserForm to Test1 . Delete the UserForm from the VBA project. When prompted to export the UserForm, choose No. Add a new UserForm. Change the name to Test1 (the same name as before), and note that VBA displays the error:

Path/file access error

</li></ol>

Keywords: kbbug kbpending KB244238

-

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

© Microsoft Corporation. All rights reserved.