View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bruno G. Bruno G. is offline
external usenet poster
 
Posts: 6
Default Self deleting CommandBarButton possible?

Hello!

I'm using a customized version of John Walkenbach's Menu Maker
(http://j-walk.com/ss/excel/tips/tip53.htm) to create a toolbar when a
workbook is opened.

I would like to add a 'Refresh' button to this toolbar, which would cause
the toolbar to delete itself and be recreated. But when the sub tries to
delete the button that started it, it fails.

Is there a way around that?

Thanks
Bruno G.