My end goal is to be able to write the following code and have it work for reading data into and out of the object (Ptr2FieldData). I should point out that Coordinates is a property of Ptr2FieldData and is an object.
Ptr2FieldData.Coordinates.X
Here is what I am currently doing which is a step in the right direction, but does not get me to my goal. Thanks to xlNitWit, the code works:
But if I attempt to consolidate the code, the compiler complains with error ‘91’ object variable not set. I know I must be misunderstanding something….please offer insight.![]()
Please Login or Register to view this content.
Here is a shortened Ptr2FieldData Class containing only the critical Coordinate Property![]()
Please Login or Register to view this content.
And here is the CoordinatesClass![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Bookmarks