XL2000: Sample Macro to Add or Place Object in Relation to a Range (213607)
The information in this article applies to:
This article was previously published under Q213607 SUMMARY
When you add objects to a worksheet using a Microsoft Visual Basic for Applications procedure, you need to specify the coordinates of the new object, in points, relative to the upper-left corner of cell A1 on a worksheet as well as the height and width of the object. Note, however, that you can add objects and make their position relative to a specified range by using the corresponding Top, Left, Width, and Height properties of the Range object.
NOTE: One point is approximately equal to 1/72 inch.
REFERENCES
For more information about how to use the sample code in this article, click
the article number below to view the article in the Microsoft Knowledge
Base:
212536
OFF2000: How to Run Sample Code from Knowledge Base Articles
For additional information about getting help with Visual Basic for
Applications, please click the article number below to view the article in the Microsoft Knowledge Base:
226118
OFF2000: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto KB213607 |
---|
|