Optional argument Let’s Start Programming! › Forums › CATIA Macro Programming › Optional argument This topic contains 0 replies, has 1 voice, and was last updated by lal 2 years, 11 months ago. Log In Register Lost Password Viewing 1 post (of 1 total) Author Posts February 6, 2015 at 9:25 am #1540 lalParticipant Hi ! I am currently doing a function with and optional argument (like explained in this link : http://www.cpearson.com/excel/optionalargumentstoprocedures.aspx ) The problem is CATIA doesn’t to run the macro: Just a simple test : Function Optional_test (arg1 as integer, optional arg2 as variant) as integer End function Catia says there isn’t any ID. Does anyone have the answer ? 🙂 Thanks Author Posts Log In Register Lost Password Viewing 1 post (of 1 total) The forum ‘CATIA Macro Programming’ is closed to new topics and replies.