nashvillebill
Technical User
I working on a project in which I am moving equipment from 400 locations to 400 other locations in the US. I have the longitude and latitude for each of the locations and I'm trying to find the nearest locations to move the equipment to. I'm using a trig formula in Excel 2007 to find the difference between each of the locations. I want to automate the selections and I'm trying to use VBA to do this. I am having trouble selecting the cell that I want to get the data from, so I guess I just need help with the syntax because I'm getting an error 9. Is there a reference to this for VBA that I can find on line?
My workbook has three worksheets: Calculate, 9 Cams and 4 Cams. I want to get the value of a cell in Calculate and delete the row that has that value in 9 Cams.
Thanks in advance,
Bill
My workbook has three worksheets: Calculate, 9 Cams and 4 Cams. I want to get the value of a cell in Calculate and delete the row that has that value in 9 Cams.
Thanks in advance,
Bill