Article ID: 131930
Article Last Modified on 10/11/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
This article was previously published under Q131930
SUMMARY
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).
MORE INFORMATION
Microsoft 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. 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: XL
Keywords: kbprogramming KB131930