See this page for example code
http://www.ozgrid.com/VBA/right-click.htm
--
Regards
Dave Hawley
www.ozgrid.com
"Madiya" <(E-Mail Removed)> wrote in message
news:4e2758e2-0f5d-4099-8308-(E-Mail Removed)...
> As I understand from various postings in this forum, we can not create
> any custom toolbars or icons in xl2007.
> But Is it possible to add custom icon to run a macro in cell context
> menu (cell right click menu) by a add-in in VB6?
> If yes pl point me to a sample code if available.
>
> I am trying to make com addin in vb6 with help of example on Chip's
> site and need to provide a button in rightclick menu to users for
> accessing the code.
>
> Regards,
> Madiya