I made a small program in vba excel to reate a g-code.
Excel creates a text file of the g-code.
I want VBA Excel to automatically send the g-code in mach3.
Not sure but arn't we missing the trick here?
If you have vba that creates gcode, then why not just put that vba in a macro (assuming it's translatable to CB) and use the teachfile functionality? Seems to me you're going around the world to get back home.
Ian