Excel uses a separate right-click menu for Tables.
I only speak VBA, so you will have to translate...
When right-clicking in a "normal" cell the CommandBars("Cell")
menu is used.
When right-clicking in a Table the CommandBars("List Range Popup")
menu is used.