Through VBA can we set what the "Last Command" was?
For example I have an mleader routine (Xleader) that sets a bunch of environmental variables, the layer etc. then executes the mleader, then restores the layer....
...
ThisDrawing.SendCommand "mleader" & vbCr
ThisDrawing.ActiveLayer = savedLayer
Now if the user want to do the command multiple times they must select it from the button, menu or tool pallet. I want them to be able to right click to get "Xleader" but of course they get mleader.