kashif.special2005
Active Member
- Joined
- Oct 26, 2009
- Messages
- 443
Hi,
I am new in learning about class module in Excel VBA, I somewhere read that manipulating data in memory is much faster that manipulating data in excel, I have huge data, and below are the samples, now my question is how can I store all the rows data in the class module related to unique project, like Project 1 is the key for all the rows related to that project and like wise for all project, Project 2 and Project 3 also, after all the data in the memory, when I want to fetch all the records related to particular project just give the project name can fetch all the records related to that project, like after all the data when I give Project 1, I want to fetch all records of Project 1, and can do some manipulation.
Can this is possible, and if yes, how can we do that, please teach me, I want to learn this type of methods in VBA.
Thanks in advance
Thanks
Kashif
I am new in learning about class module in Excel VBA, I somewhere read that manipulating data in memory is much faster that manipulating data in excel, I have huge data, and below are the samples, now my question is how can I store all the rows data in the class module related to unique project, like Project 1 is the key for all the rows related to that project and like wise for all project, Project 2 and Project 3 also, after all the data in the memory, when I want to fetch all the records related to particular project just give the project name can fetch all the records related to that project, like after all the data when I give Project 1, I want to fetch all records of Project 1, and can do some manipulation.
Can this is possible, and if yes, how can we do that, please teach me, I want to learn this type of methods in VBA.
Excel Workbook | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Projects | Name | Date | Area | Efficiency Status | ||
2 | Project 1 | A | 9/19/2017 | NPO | Yes | ||
3 | Project 1 | B | 9/24/2017 | Zamibia | Yes | ||
4 | Project 2 | C | 9/29/2017 | NPO 2 | Yes | ||
5 | Project 3 | A | 10/4/2017 | NPO | Yes | ||
6 | Project 1 | B | 10/9/2017 | Season 2 | No | ||
7 | Project 2 | C | 10/14/2017 | Season 2 | No | ||
8 | Project 3 | D | 10/19/2017 | WCEL | No | ||
9 | Project 2 | E | 10/24/2017 | NPO | No | ||
10 | Project3 | A | 10/29/2017 | Zamibia | Yes | ||
Sheet1 |
Thanks in advance
Thanks
Kashif