I created several functions i.e.: "cal_adval". I would like to add it to a new function category named "Custom Clearance"
I read the documentation, and wrote this macro:
Sub add_category()
Application.MacroOptions Macro:="calc_adval", Category:="Customs Clearance"
Application.MacroOptions Macro:="calc_fodinfa", Category:="Customs Clearance"
Application.MacroOptions Macro:="calc_vat", Category:="Customs Clearance"
Application.MacroOptions Macro:="calc_liquidation", Category:="Customs Clearance"
End Sub
However I got this error: Method MacroOption of application failed
. Any suggestions?
No comments:
Post a Comment