Microsoft KB Archive/234839

= MOD2000: Admin Cannot Check In File with VBA Source Code Control Add-in =

Article ID: 234839

Article Last Modified on 5/2/2001

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition
 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



This article was previously published under Q234839



SYMPTOMS
The Admin of a Microsoft Visual SourceSafe database cannot check in files that are checked out by another user. If you are an Admin and try to use the VBA Source Code Control Add-in to check in or undo the check out of an object that another user has checked out, you receive the following error message:

The selected item is not checked out to you.

If you try to perform the check in operation in Visual SourceSafe Explorer, you receive the following error message:

File Not Found.



CAUSE
The VBA Source Code Control Add-in does not support the additional privileges that Visual SourceSafe gives the Admin user. Also, the add-in does not create a separate file in the working folder of the source code control project when an object is checked out.



RESOLUTION
The Admin user can undo the check out in Visual SourceSafe Explorer, but all of the user's changes are lost.



Steps to Reproduce the Behavior
 Create and save a new workbook in Microsoft Excel 2000. Open the Visual Basic Editor (press ALT+F11). Load the VBA Source Code Control Add-in, if it is not already loaded.

NOTE: To load the VBA Source Code Control Add-in, click Add-in Manager on the Add-ins menu, select the VBA Source Code Control Add-In, and then select one of the Load Behavior options. Start the VBA Source Code Control Add-in, and then log on to Visual SourceSafe as a user other than Admin. Add the workbook and the sheets that it contains to source code control. Use the VBA Source Code Control Add-in to check out Sheet1. Make modifications to Sheet1, and then save your changes.</li> Quit and restart Excel.</li> Open the Visual Basic Editor, and log into Visual SourceSafe as Admin.</li> Try to check in Sheet1. Note that you receive the following error message:

The selected item is not checked out to you.

</li></ol>

Additional query words: pra

Keywords: kberrmsg kbbug kbpending KB234839

-

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

© Microsoft Corporation. All rights reserved.