Hi everyone,
I'm a new vba user and struggling with a problem finding the shortest path by using floyd warshall theory and vba. Basically, I need to find the shortest path between each pairs of the users, then find the diameter which is the greatest length of any .I need to create an userform which can load any provided files (same format of the content with the file attached). I've finished validating data and loading the file. However, I just can do the coding with a specific small number of nodes (6 in this cases). Hereunder is the code I've done. Can you guys please help me to solve this so that I can run the analysis with any provided files no matter how many nodes (users) it has? thank you very much!
Bookmarks