Tutorial-How to export points from solidworks to a excel file!
the macro below used for exporting points from sketch to excel !
For example we have these points in the 3Dsketch Below to export to excel
go to tool --> macro --> new
choose a name for macro and click save
In the programming window write code below ( download the .swp I attached, the whole code didn't fit in picture!)
Choose the sketch you want to export points from!
tool--> macro--> run
select the macro you write (or I uploaded) and click open
the points will be write in a excel file as below