My apologies for the vague Title in my original post.
I've have the following code:
Here is what I'm trying to accomplish after the Stop in the above code (BTW, I run the code from VPP.xls, worksheet Travel Time).
Based on the Street name in VPP.xls, worksheet Travel Time, I want to find the distance between the streets from TT.xls worksheet, Travel Time Results, and report that in column E (the table is filled out how it should look after the code is run).
For example, I want the distance between Street A and Street F WB. It should return a value of 5.2 (5238.9/1000).
I've been using the following excel formula in column E in VPP.xls, but I want the code to actually just report the value in the cell. I can't figure out how to use the application.worksheet function, which I may not be able to do because of the : contained within the formula.
Similar to finding the distance, I want to find the A and B times between those same streets and put that in the appropriate A and B columns. I imagine that would be similar code to the above, so if I can just figure that part out, I can get the rest.
Thanks
J
Again, I apologize for my vagueness originally.
Bookmarks