Macro to export all all files all configs in an assembly to step

Good day fellow SW users

Been using SW for 20 years but haven't done anything with macros. I have assemblies with many parts and some of those parts have many configurations. I need to export all of the parts and their configurations to STEP AP 214 files. 

Is there a way to do this?

Thanks in advance

Steve 

SolidworksImport/export