PPT2000: Sample VBA Code to Insert an Image Full Size and Centered (222699)
The information in this article applies to:
- Microsoft PowerPoint 2000
This article was previously published under Q222699
SUMMARY
Although you can use the AddPicture method in a Visual Basic macro to
insert an image on a PowerPoint slide, the AddPicture method requires
you to specify the point size of the image. This article provides a sample
Microsoft Visual Basic for Applications macro (Sub procedure) that imports
an image in the correct size. This method does not require you to know the
point size of the image in advance.
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
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbdtacode kbhowto kbProgramming KB222699 |
---|
|