Return type (Auto) does not match overridden method's return type (Variant)

SuperClassPopupMenu.RowTag Declaration Return type (Auto) does not match overridden method's return type (Variant) Function RowTag(pIndex as Integer) As Auto

how can I override a method using Auto instead of Variant ?

Did you try to change your method to variant?