Programatically changing picture in UserForm - VBA - Mac OSX

  • Thread starter Thread starter dirk
  • Start date Start date
D

dirk

I am writing a Excel VBA application with one version that is to ru
under Windows (Excel 2000) and another version that is to run under Ma
OSX (Excel X).

I need to programatilly load a picture in an image-control of
userform.
In the windows version, I have no problem with the assignment

<control>.picture = LoadPicture(<filename>)


According to the documentation, the same should work for the Ma
version. .... It doesn't.

Does anybody know how to do this for Excel X ?

Thanks

Dir
 
I am not sure, but once I tried the follwing
<control>.picture=<filename
And it did work

Saide

----- dirk > wrote: ----

I am writing a Excel VBA application with one version that is to ru
under Windows (Excel 2000) and another version that is to run under Ma
OSX (Excel X)

I need to programatilly load a picture in an image-control of
userform
In the windows version, I have no problem with the assignmen

<control>.picture = LoadPicture(<filename>


According to the documentation, the same should work for the Ma
version. .... It doesn't

Does anybody know how to do this for Excel X

Thank

Dir
 

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

Back
Top