Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Copying from the Object Browser May Not Copy Named Arguments


View products that this article applies to.

This article was previously published under Q213786

↑ Back to the top


Symptoms

In the Microsoft Visual Basic Editor for Microsoft Excel 2000, named arguments are not copied when you copy a property, method, or function in the Object Browser.

NOTE: This behavior differs from the functionality of the Object Browser in versions of Microsoft Excel prior to Excel 97.

↑ Back to the top


Cause

When an item in the Object Browser's Member pane is selected, only the name of the item is copied to the clipboard.

↑ Back to the top


Workaround

Workaround 1

You can copy named arguments from the Object Browser. To do this, follow these steps:
  1. Select the text of the item and its named arguments in the Detail section, and then click Copy on the Edit menu.
  2. Go to the location where you would like to paste the named arguments, and then click Paste on the Edit menu.

Workaround 2

You can use the Auto Quick Info feature of the Visual Basic Editor to display information about functions and their parameters as you type.

To enable Auto Quick Info, do the following:
  1. On the Tools menu, click Options.
  2. Click the Editor tab.
  3. Select Auto Quick Info, and then click OK.
When this feature is enabled and you type a function in the Code window, a small information window appears beneath your line of code that indicates the syntax of the function you're typing.

↑ Back to the top


References

For more information about using the Object Browser, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Object Browser in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB213786, kbprogramming, kbprb

↑ Back to the top

Article Info
Article ID : 213786
Revision : 6
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 231