XL: Data Map Objects Limited to RefreshMap Command

Last reviewed: September 3, 1997
Article ID: Q131930
The information in this article applies to:
  • Microsoft Excel for Windows 95, version 7.0
  • Microsoft Excel 97 for Windows

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.Refreshmap

In 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:
Keywords : AutoGnrl kbprg kbtool SynGnrl
Version : 7.0 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.