Userform Image help

P

Pete

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
 
C

Chip Pearson

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 (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top