ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Userform Image help (https://www.excelbanter.com/excel-programming/282110-userform-image-help.html)

Pete[_13_]

Userform Image help
 
I have a userform created and I want it to flash in front
of the main spreadsheet until I tell it to go away. I know
how to do this, but I need to know - how can I get an
image of my companies logo inserted into the user screen.
I have tried to paste it in the image box with no luck.

Also is it possible to access the web from the userform?

Does anyone have a idea that I can try.

Thanks
Pete W

Chip Pearson

Userform Image help
 
Pete,

Put an Image control on the form as use LoadPicture.

Private Sub UserForm_Initialize()
Me.Image1.Picture = LoadPicture("C:\filename.jpg")
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Pete" wrote in message
...
I have a userform created and I want it to flash in front
of the main spreadsheet until I tell it to go away. I know
how to do this, but I need to know - how can I get an
image of my companies logo inserted into the user screen.
I have tried to paste it in the image box with no luck.

Also is it possible to access the web from the userform?

Does anyone have a idea that I can try.

Thanks
Pete W





All times are GMT +1. The time now is 02:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com