ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   recherche et affichage d'une image (https://www.excelbanter.com/excel-programming/280971-re-recherche-et-affichage-dune-image.html)

Joe 90[_2_]

recherche et affichage d'une image
 
Pierre

essayez comme ca

Fichier +AD0- Application.GetOpenFilename(+ACI-Image Files (+ACo-.jpg), +ACo-.jpg+ACI-)
Image1.Picture +AD0- LoadPicture(Fichier)

ca marche pour moi :)

On doit appliquer un +ACI-Image Control+ACI- sur le Userform qui s'appelle +ACI-Image1+ACI-
automatique par l'application - excel

In English (lol)

Change the word +ACI-Text+ACI- to +ACI-Image+ACI- in +ACI-Text Files+ACI-. Also make sure you have
an image control on your form, If it is the first image control it will
automatically be named Image1 by Excel.

I hope this fixes your problem

Joe90

+ACI-Pierre Pruvost+ACI- +ADw-pierre.pruvost3antispam+AEA-wanadoo.fr+AD4- wrote in message
news:OuVoIqlnDHA.684+AEA-TK2MSFTNGP09.phx.gbl...
Bonjour,

Je voudrais pouvoir chercher une image sur mon disque et l'afficher dans un
UserForm.
J'ai essay+AOk- :

Fichier +AD0- Application.GetOpenFilename(+ACI-Text Files (+ACo-.jpg), +ACo-.jpg+ACI-)
Image1.Picture +AD0- LoadPicture(Fichier)

Mais +AOc-a marche pas.
Qui peut m'aider

Merci
Pierre




All times are GMT +1. The time now is 09:48 PM.

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