XL98: Sample Macro to Add or Place Object in Relation to a Range (193251)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q193251 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 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:
163435
VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 9/12/2006 |
---|
Keywords: | kbdtacode kbhowto KB193251 |
---|
|