How to plot horizontal alignment data to profile grid using macro.

I have a alignment data in text file from Geopak, want to plot the PC,PT and Radius of Curve into profile grid. i am new to macro, can anyone suggest me how to do it.