The information in this article applies to:
SUMMARY
In Microsoft Excel 98 Macintosh Edition, you can add an Image control to a
user form. The following are two ways to specify which picture file is
displayed in the Image control:
-or- The advantage of using the run-time method is that the picture file is not stored with the project, which minimizes the size of the project. However, if you distribute the project to others, you must remember to include the picture file with the project file, and you must provide instructions for placing the picture file in the correct location. This article provides a sample Visual Basic for Applications macro that uses the LoadPicture function to load a picture file into an Image control during run time. MORE INFORMATIONMicrosoft 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/overview/overview.asp Creating the User Form and the Macro CodeTo create the user form and the macro code, follow these steps:
REFERENCES
For more information about the Image control, click the Office Assistant in
the Visual Basic Editor, type image control, click Search, and then click
to view "Things you can do with an Image control".
Q176476 OFF: Office Assistant Not Answering Visual Basic Questions Additional query words: XL98
Keywords : kbprg kbdta kbdtacode xlvbahowto xlvbainfo |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |