Currently on my workbook, i have a VBA set up so i press a button opens up file explorer i click an excel file and copies all the data, but next step i want to do is only copy rows where one column has a certain text.
Above is the sort of lay out of the sheet i would select when doing file explorer. So Ideal is only copy rows where type AB is present and Copy Code (A) to A on new sheet, Type (B) to B, but Name(c) to E, Date (D) to F, Time (f) to G and Comments (G) to I. Best example since not at work. So basically need to copy rows where only AB is present then Copy the data required to Certain columns.
Code | Type | Name | Date | Time | Rubbish | Comments | Rubbish | |||
123314 | AB | John | 01/01/01 | 12134568 | asdasdasd | a a a a a a | etc | |||
411354 | CD | Julie |
|
| asdasdasd | a aa a | etc | |||
1464988 | AB | Jack |
|
| asdasdasd | bbbbb | etc |
Above is the sort of lay out of the sheet i would select when doing file explorer. So Ideal is only copy rows where type AB is present and Copy Code (A) to A on new sheet, Type (B) to B, but Name(c) to E, Date (D) to F, Time (f) to G and Comments (G) to I. Best example since not at work. So basically need to copy rows where only AB is present then Copy the data required to Certain columns.