UserForm as a Jpeg Image

J

John

Is it possible to open a worksheet with a jpeg image like you can with a
Userform in VB and impose some Text over this Jpeg. I've tried to copy and
paste in to a Userform but nothing happens

Any help would be great

John
 
K

Keith Willshaw

John said:
Is it possible to open a worksheet with a jpeg image like you can with a
Userform in VB and impose some Text over this Jpeg. I've tried to copy and
paste in to a Userform but nothing happens

Set the picture property of the Userform to the address of the image
you want to use and the PictureSizeMode to Zoom,Clip or Stretch
as you prefer

Keith
 
J

John

That was easy, thanks for that Keith

John

Keith Willshaw said:
Set the picture property of the Userform to the address of the image
you want to use and the PictureSizeMode to Zoom,Clip or Stretch
as you prefer

Keith
 
J

John

I have a password set every time my working file is opened. Is it possible
that the "password required" window would display within my Userform Jpeg.
Currently it displays before it

Thanks

John
 
K

Keith Willshaw

John said:
I have a password set every time my working file is opened. Is it possible
that the "password required" window would display within my Userform Jpeg.
Currently it displays before it

If the password is to protect the workbook the answer
is no since the workbook must be opened before
you can access the VBA project.

Keith
 

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