XL: Data Map Objects Limited to RefreshMap CommandLast reviewed: September 3, 1997Article ID: Q131930 |
The information in this article applies to:
In a Visual Basic for Applications macro, the Data Map object is limited to a single command, RefreshMap. The RefreshMap command updates a Data Map object in a Microsoft Excel worksheet. The following examples illustrate how you would use the RefreshMap command in a macro:
ActiveSheet.OLEObjects("Picture 1").Object.Refreshmap -or- ActiveSheet.OLEObjects("Object 1").Object.RefreshmapIn these examples, "Picture 1" and "Object 1" are the names of Data Map objects. To determine the name of a Data Map object, click the object once and then look in the Name box (below the File menu and to the left of the formula bar). Microsoft provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. This Visual Basic procedure is provided 'as is' and Microsoft does not guarantee that it can be used in all situations. Microsoft does not support modifications of this procedure to suit customer requirements for a particular purpose. There are no other Data Map-specific methods or properties available with this version of Microsoft Excel. More functionality may be available in later versions.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |