written in VBA for Excel do not work in
Calc and macros written in StarBasic for Calc do not run on Excel.
Re-writing of macros is required when moving spreadsheets between
either application.
Some
additional resources for writing Basic macros include: