ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Picture in a UserForm (https://www.excelbanter.com/excel-discussion-misc-queries/214195-picture-userform.html)

Howard31

Picture in a UserForm
 
Hi All,

I'm having trouble getting a picture into a picture control in a userform.
Every time I select a picture file for the control I get a error message,
something like 'Picture file is not valid'
--
A. Ch. Eirinberg

Jon Peltier

Picture in a UserForm
 
The user form image control does not accept all picture formats. It accepts
(I think) gif, jpg, and bmp, but not png.

You could insert the picture into a worksheet, copy the picture, switch to
the VB Editor, click in the entry field for the picture, and use Ctrl+V to
paste the image.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Howard31" wrote in message
...
Hi All,

I'm having trouble getting a picture into a picture control in a userform.
Every time I select a picture file for the control I get a error message,
something like 'Picture file is not valid'
--
A. Ch. Eirinberg





All times are GMT +1. The time now is 06:36 PM.

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