hi Madiya
Try this
With Application.CommandBars("Cell")
.Controls.Add Type:=msoControlSplitDropdown, ID:=128, befo=1, temporary:=True
End With
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"Madiya" wrote in message ...
I have added some buttons for running my macro in the right click
context menu.
I want to add UNDO button also.
Pl help on how to proceed.
Regards,
Madiya