Initialize an imagelist for use with a listview

I

Incidental

Hi folks

Hoping someone can help me out with a bit of a problem I’m having at
the moment that really just might tip me over the edge if I don’t
figure it out! Just kidding I won’t be running for the water tower
with a gun just yet.

Anywho, I’m running Excel 2003 SP3 with a userform containing an
imagelist and a listview, with the imagelist holding my icons for use
in the listview but I can’t initialize the imagelist. Both controls
are version 6 and I have reference to MSCOMCTL.OCX. I add my pictures
to my imagelist but when I go into setup the custom property of the
listview, I go into the Image List tab but the comboboxes only contain
the <None> option. When I run the code if I try to make reference to
the imagelist at all I get the ‘35613’ error message.

If anyone has any ideas, links to some tutorials on using these to
controls together or even a small piece of example code I would
greatly appreciate it.

Cheers

Steve
 

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