katherine_nicccc
New Member
- Joined
- Mar 31, 2024
- Messages
- 2
- Office Version
- 2016
- Platform
- Windows
Hi, i am relatively new to VBA and i have problem importing data from text file. As the text file is too big, i do not want copy all data over to excel.
Is there a way for me to create a VBA that only copies out all the rows with the same product ID as value in Cell A1? Then copy these rows (entire row) to a blank worksheet (say named "extracted_data")
My text file looks like this but with a lot more column and rows.
Thank you for you help!
Is there a way for me to create a VBA that only copies out all the rows with the same product ID as value in Cell A1? Then copy these rows (entire row) to a blank worksheet (say named "extracted_data")
My text file looks like this but with a lot more column and rows.
Start Date | End Date | Product ID | Field 4 | Field 5 and many other fields |
xx | xx | 12 | xx | xx |
xx | xx | 12 | xx | xx |
xx | xx | 12 | xx | xx |
xx | xx | 44 | xx | xx |
xx | xx | 44 | xx | xx |
Thank you for you help!