I'm attempting to automate an external program that provides API using excel visual basic macros. I am attempting to call a function using ProgAPI, an object I made to interface with the API.
ProgAPI.getcoordinate(map1, point1)
That would provide me with a coordinate in the form (x, y), which I've been informed is a tuple. When I do, I am unable to put the coordinate into a variable.
sub getcoor
dim coor as double
coor = ProgAPI.getcoordinate(map1, point1)
end sub
I'm assuming because (x,y) has 2 entries. Does anyone know how to store this tuple in visual basic?