View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
R Avery R Avery is offline
external usenet poster
 
Posts: 220
Default How to trap the OnAction of a CommandBarPopup

Whenever i have wanted to trap the click or action event of a popup
menuitem, I have just set the .OnAction property to a particular sub
name. However, I am trying to wrap some of this code in a class, and I
am having trouble. The OnAction parameter can't refer to a class's
procedure (as far as i know), and there are no events that the
CommandBarPopup sources... so how can I accomplish this? Any help would
be most appreciated.