Need code to extracting bend coordinate or control point coordinates in excel

I want a VB.Net code (In VB) to get the Stock/Routing bend or control point coordinate in excel sheet. Can anyone help me out.

I'm not familiar with the routing application. Are the point coordinates stored in an external Excel file?

No. I want to extract the coordinates of piping routing(BendReport) and coordinates for ports.

I do not have a license for the routing application (nor am I familiar with it), so I cannot create ports or other routing objects for testing. However, I can help if you have specific questions about exporting information to Excel.