VBA with Omniplan

hi,
Do you know if VBA works directly with Omniplan?
i want to write a scrip that will publish omniplan to CSV / xls file automatically.
Can we work with Macro in general with Omniplan?
thanks Vered