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