Hi,
I'm wondering if it's possible to change the picture (one of the built in ones) displayed on a command button by using VBA?
Basically I have comboboxes in my form that are used to select the person resposible for a certain task. There are a lot of people so I have some people defined as frequent users and a criteria on the combo box that means that initially only the frequent users are displayed. I then have a command button that when clicked once removes this criteria to show all users and when clicked again reinstates the criteria. What I would like to do is initially have the command button show the remove filter icon and then when clicked this change to the apply filter icon, but I don't know how to refer to the specific pictures in code or indeed if it is possible
Regards
Robyn
I'm wondering if it's possible to change the picture (one of the built in ones) displayed on a command button by using VBA?
Basically I have comboboxes in my form that are used to select the person resposible for a certain task. There are a lot of people so I have some people defined as frequent users and a criteria on the combo box that means that initially only the frequent users are displayed. I then have a command button that when clicked once removes this criteria to show all users and when clicked again reinstates the criteria. What I would like to do is initially have the command button show the remove filter icon and then when clicked this change to the apply filter icon, but I don't know how to refer to the specific pictures in code or indeed if it is possible
Regards
Robyn
Last edited: