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.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 programming examples 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 article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals 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 needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/
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 : kbprg kbtool kbdta KbVBA
Version : WINDOWS:7.0,97
Platform : WINDOWS
Last Reviewed: May 18, 1999