Does anyone have some sample code for populating a treeview and/or an imagelist control on a Userform. My treeview is a list of object names which I can create, but I also want to add an image to each node: a small square which is the same color as the object. For example, I might have a Fruit node which has apples and bananas as children. I want to create a small square at run-time which is colored red for the apple image and yellow for the banana image. I need to create the images at run-time because the user can color the objects with any RGB color before displaying the userform. TIA --Sam



