hi there
I need to be able to show right click menu and each button on that menu will run the same sub but with different parameter (similar to having shapes running the same sub but based on application.caller.name - inside the sub I can make it behave differently) - is that doable?
I can create a menu - I am having a problem with reading "which button was clicked"
Basically I have people having different items in their portfolio and I want to use right click to remove any item that they want to. So if in portfolio we have A, B and C, right click menu will show 3 lines "Remove A", "Remove B" and "Remove C" but they will all call sub "Remove". Than based on which button was clicked - code will remove A, B or C - hope that makes sense...
thanks in advance
I need to be able to show right click menu and each button on that menu will run the same sub but with different parameter (similar to having shapes running the same sub but based on application.caller.name - inside the sub I can make it behave differently) - is that doable?
I can create a menu - I am having a problem with reading "which button was clicked"
Basically I have people having different items in their portfolio and I want to use right click to remove any item that they want to. So if in portfolio we have A, B and C, right click menu will show 3 lines "Remove A", "Remove B" and "Remove C" but they will all call sub "Remove". Than based on which button was clicked - code will remove A, B or C - hope that makes sense...
thanks in advance