VBA to harvest and record Global Origin in text file?

I need to evaluate the global origin within files for a particular project and verify if he Global Origin is offset from the design plane/cube. Rather than gong into each file and using the keyin GO=$ to check each file and multiple models within each file, I would like to use a vba project to open the files, obtain the Global Origin and then report that value to a text file.

What is the best way to go about creating that vba? I would run this vba using the batch process.

TIA,

Mike