Rakesh99932
New Member
- Joined
- Feb 25, 2020
- Messages
- 24
- Office Version
- 2019
- 2016
- 2013
- 2011
- 2010
- Platform
- Windows
Hello Guys,
I need to create Subsets for the data which I have, which is dynamic, using Excel VBA.
I have data in the form of table, whose column headings are Code, % & Transaction ID as the below table.
I need to create subsets in .txt file which only shows Transaction ID's in it based on the combinations between Code and %.
For example, if I filter Code 1001, I can see 42.10% & 55.10%. For the first combination of code 1001 & 42.10%, the transaction ID’s only should be copied to a .txt file and this .txt file should be saved with the naming convection using “TXT_Code%_ddmm” format.
Example of the combinations:
Example 1:
In the above table, i have filtered 1001 Code and 42.10%. I need transaction Id’s only should be copied to a new .txt file, and its naming convection should be as “TXT_1001421_ddmm” format and save this .Txt file in the folder.
Example 2:
In the above table, i have filtered 1001 Code and 55.10%. I need transaction Id’s only should be copied to a new .txt file, and its naming convection should be as “TXT_1001551_ddmm” format and save this file in the folder.
The data is always dynamic and the combinations are also dynamic.
Request your kind help in this matter, as this will save lo of time for the huge data I have.
Thank you for your help in Advance.
I need to create Subsets for the data which I have, which is dynamic, using Excel VBA.
I have data in the form of table, whose column headings are Code, % & Transaction ID as the below table.
Code | % | Transaction ID |
1001 | 42.10% | 455152 |
1001 | 42.10% | 455153 |
1001 | 42.10% | 455154 |
1001 | 55.10% | 455155 |
1001 | 55.10% | 455156 |
1001 | 55.10% | 455157 |
1002 | 66.40% | 455158 |
1002 | 66.40% | 455159 |
1002 | 66.40% | 455160 |
1002 | 66.40% | 455161 |
1002 | 85.70% | 455162 |
1003 | 85.70% | 455163 |
1003 | 85.70% | 455164 |
1003 | 85.70% | 455165 |
1003 | 85.70% | 455166 |
1004 | 95.60% | 455167 |
1004 | 95.60% | 455168 |
1004 | 95.60% | 455169 |
1004 | 95.60% | 455170 |
1004 | 95.60% | 455171 |
I need to create subsets in .txt file which only shows Transaction ID's in it based on the combinations between Code and %.
For example, if I filter Code 1001, I can see 42.10% & 55.10%. For the first combination of code 1001 & 42.10%, the transaction ID’s only should be copied to a .txt file and this .txt file should be saved with the naming convection using “TXT_Code%_ddmm” format.
Example of the combinations:
Example 1:
Code | % | Transaction ID |
1001 | 42.10% | 455152 |
1001 | 42.10% | 455153 |
1001 | 42.10% | 455154 |
In the above table, i have filtered 1001 Code and 42.10%. I need transaction Id’s only should be copied to a new .txt file, and its naming convection should be as “TXT_1001421_ddmm” format and save this .Txt file in the folder.
Example 2:
Code | % | Transaction ID |
1001 | 55.10% | 455155 |
1001 | 55.10% | 455156 |
1001 | 55.10% | 455157 |
In the above table, i have filtered 1001 Code and 55.10%. I need transaction Id’s only should be copied to a new .txt file, and its naming convection should be as “TXT_1001551_ddmm” format and save this file in the folder.
The data is always dynamic and the combinations are also dynamic.
Request your kind help in this matter, as this will save lo of time for the huge data I have.
Thank you for your help in Advance.