You receive a "Requested Operation Is Presently Disabled" error message when you use a command button in a custom window in Visio 2003 (831070)
The information in this article applies to:
- Microsoft Office Visio Professional 2003
- Microsoft Office Visio Standard 2003
SYMPTOMSIn Microsoft Office Visio 2003, when you use a command
button in a Microsoft Visual Basic for Applications (VBA) custom window (user
form) to show the Save As dialog box, you may receive the
following error message: Requested operation is presently
disabled. CAUSEThis problem may occur if the command button in your custom
window becomes the active item, instead of the Visio Drawing Control. This
problem may occur if both of the following conditions are true:
- You use the DoCmd method to show the Save As dialog box in a
custom window (user form).
- The user form contains a Visio Drawing Control.
WORKAROUNDTo work around this problem, use the SetFocus method to make your Visio Drawing Control active before the DoCmd method in your VBA macro.MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
Modification Type: | Minor | Last Reviewed: | 1/12/2006 |
---|
Keywords: | kberrmsg kbprb KB831070 kbAudEndUser |
---|
|