Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Picture popup
In Excel, What will the code be to display a picture on the screen if a button is pressed?
I have a button, if pressed, needs to open a MsgBox or something displaying a picture. Thanks. |
#2
|
|||
|
|||
Anyone please??
|
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Picture popup
I put a button from the Forms Toolbar on the worksheet.
I added a picture named "Picture 1" right near that button. I assigned this macro to the button: Option Explicit Sub testme() Dim myPict As Picture Set myPict = ActiveSheet.Pictures("Picture 1") myPict.Visible = Not myPict.Visible End Sub Clicking the button toggles the visibility of the picture. TheSAguy wrote: In Excel, What will the code be to display a picture on the screen if a button is pressed? I have a button, if pressed, needs to open a MsgBox or something displaying a picture. Thanks. -- TheSAguy -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I insert picture into cell so vlookup can return picture? | Excel Worksheet Functions | |||
insert a picture in to a comment but picture not save on hard disk | Excel Discussion (Misc queries) | |||
How do I put single picture into Picture it from a disk? | New Users to Excel | |||
How to extract a picture from an Excel worksheet into a picture fi | Excel Discussion (Misc queries) | |||
Background Picture OR text over a picture | Excel Discussion (Misc queries) |