Hello,
I have created a new custom bar menu (e.g like File, Edit, View). In it have placed custom buttons A, B, C.
I have some code which when you click on A it opens a specific directory, B opens a different directory and C a different one still. I plan having this for about 20 different directories. However I dont want to have 20 pieces of code, ideally I would like to one piece of code, which can detect which button has been selected,
e.g a sub called
Sub d_% (where % is A,B or C)
Any ideas?
TIA
Cage
I have created a new custom bar menu (e.g like File, Edit, View). In it have placed custom buttons A, B, C.
I have some code which when you click on A it opens a specific directory, B opens a different directory and C a different one still. I plan having this for about 20 different directories. However I dont want to have 20 pieces of code, ideally I would like to one piece of code, which can detect which button has been selected,
e.g a sub called
Sub d_% (where % is A,B or C)
Any ideas?
TIA
Cage