Does anyone know a different way to open a .mac file, and save it beside the code below? The code below works really well. Basically, it reads from an excel database and pull in the information to create a macro that can be run in Great Plains Dynamics. The macro create a bunch of codes for me that can run in Great Plains; however, I had to copy that codes and paste to an empty text file and save it as .mac in order for it to work. Currently the way this macro save the .mac file, it saves it in a way that corrupted the file. If you can help me, it would be a great.


HTML Code: