Automatic registration of a .part CAD part to .stl

Hello

I come to this forum to look for help in VBA on Excel.
I'm looking to write a macro that would allow me to open a CAD part on SolidEdge (which you choose by selecting it in a part folder). Then convert this part to .part to .stl (a format that allows it to be 3D printed). And finally, that it (in .stl) is automatically saved in a new folder.
It's a macro that seems very complicated to me, I'm a bit lost, I don't really know where to start.

If someone could help me it would be nice... Thank you