You need to save a Visio drawing that contains a VBA macro. Which file format do you use?
.vssx
.vstx
.vsdx
.vsdm