Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have inherited a small project where we handle inventory data in excel. The way it's done now is simple: Use fixed columns and import data about the products from database 1, then loop through the colums and import details about the products from database 2 and so on. Problem is that the size and complexity has grown over the years, so now the macros is full of special cases and is slow and error-prone. I would like to have the products in some data structure instead of importing them directly into an excel sheet. If I was to rewrite it in C++ I would know how to do: 1. Make the products ojects. 2. Put pointers to the objects in a vector that holds info about all products. 3. Make a map or something that links unique product id to pointers to the products. Then I could easily add new products, look up the old and so on. I know that I can make objects in Excel VBA, but does VBA OOP have any serious limitations compared to C++ (or C#, or Java...)? What about performance? Best Regards Fredrik |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PowerPoint objects in Excel | Excel Discussion (Misc queries) | |||
Dynamically Assign Objects to Form Objects. | Excel Programming | |||
Unable to remove Sheet objects in the Microsoft Excel Objects | Excel Programming | |||
lost objects in Excel | Excel Programming | |||
Objects in VBA and Excel | Excel Programming |