ItalianPlatinum
Well-known Member
- Joined
- Mar 23, 2017
- Messages
- 793
- Office Version
- 365
- 2019
- Platform
- Windows
Hello - I have a little of modification I am looking to do for my existing VBA. My existing code will open a file, format it, export it to a new workbook then save it as (basically same information below minus column A). the modification i am looking for is to be able to put a criteria in a range and only the data I input will present itself in the export, the caveat being the criteria doesnt end up being in my export file at all. so my export ends up being really just columns C & D. So for this example I only want AA, CC, EE to be in the export
Book2 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Type | Category | Unique Tag | Price | Export | ||||||
2 | AA | 1 | ABC1 | 10 | AA | ||||||
3 | AA | 2 | BBB1 | 20 | CC | ||||||
4 | AA | 3 | CCC1 | 10.5 | EE | ||||||
5 | AA | 4 | DDD1 | 22 | |||||||
6 | BB | 1 | ACD1 | 23 | |||||||
7 | BB | 2 | ADD1 | 45 | |||||||
8 | BB | 3 | AFF1 | 95 | |||||||
9 | BB | 4 | AGG1 | 78 | |||||||
10 | CC | 1 | LLL1 | 45 | |||||||
11 | CC | 2 | LLL2 | 65 | |||||||
12 | CC | 3 | LLL3 | 37 | |||||||
13 | CC | 4 | YYY4 | 19 | |||||||
14 | DD | 2 | UUU8 | 82 | |||||||
15 | DD | 3 | PPP0 | 34 | |||||||
16 | DD | 4 | MNM1 | 82 | |||||||
17 | EE | 1 | AFD1 | 71 | |||||||
18 | EE | 2 | DF21 | 17 | |||||||
Sheet1 |