Improve VBA code of algorithm to find the shortest distance

Job ID: 33181128

Budget: ₹1,500 – ₹12,500 INR

I have coded nearest neighbour algorithm in VBA to find the shortest distance for a problem.

I need to improve my code to find more optimal solution. Need help with the same.