VBA for knife tool - not trim (need to split shape at 2 shapes where every shape will not be closed)


I have one thing that i cannot do and did not found anywhere and would help me a lot if it will be possible.

The thing is to make code which do exactly the thing like knife tool.

I found, that there are cdrtools, but dont have idea of how to use them


For example i have some shape crossed with 2point line and i would like to knife the shape according to 2 point line, so that the shapes will not be closed like if i do this with trim - it will be just divided to two shapes.

If you can do this or point me to solution, i will be very gratefull.

Thank you