shetlandbob
Programmer
Hi,
Can you do this or similar in VBA (Excel 2000):
I'm using a class module and have some small containers that I will be using a number of times, and wondered if I can do it in a similar way as above?
Thanks,
Robert Cumming
Can you do this or similar in VBA (Excel 2000):
Code:
[green]// this is how I would do it in C[/green]
struct myCoords
{
double x;
double y;
};
struct myBox
{
myCoords coords;
double xLength;
double yLength;
};
[green]// more code
// so that you can have[/green]
myBox box;
box.coords.x = 0;
box.coords.y = 0;
box.xLength = 1;
box.yLength = 1;
}
I'm using a class module and have some small containers that I will be using a number of times, and wondered if I can do it in a similar way as above?
Thanks,
Robert Cumming