ShadowLady17
New Member
- Joined
- May 19, 2022
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
Hi, I'm completely new to VBA and am really struggling with this so if you have any advice please use simple language because I'm way out of my depth here.
So ideally, I'm looking to create a macro where I press a button and all the lines in the data tab will be sorted into different workbooks based on the account (column B) but only if the concatenate for that line is unique (column P). So, if the worksheet already has that line in there (50043032.07apple4141) then it won't be moved over.
So ideally, I'm looking to create a macro where I press a button and all the lines in the data tab will be sorted into different workbooks based on the account (column B) but only if the concatenate for that line is unique (column P). So, if the worksheet already has that line in there (50043032.07apple4141) then it won't be moved over.
Company Code | Account | Document type | Assignment | Amount in local currency | Text | Purchasing Document | Document Date | Profit Center | Fiscal Year | Posting period | User Name | Document Number | Posting Date | Reference | Concatenate |
1210 | 500430 | SA | ADJNIGJ | 32.07 | apple | 14/09/2022 | 4141 | 2023 | 6 | GRIFFITF | 50043032.07apple4141 | ||||
1210 | 500430 | SA | ADJNIGJ | 2.90 | banana | 14/09/2022 | 4132 | 2023 | 6 | GRIFFITF | 5004302.9banana4132 | ||||
1210 | 500430 | SA | ADJNIGJ | 2.46 | carrot | 14/09/2022 | 4146 | 2023 | 6 | GRIFFITF | 5004302.46carrot4146 | ||||
1210 | 500430 | SA | ADJNIGJ | 32.07 | apple | 14/09/2022 | 4141 | 2023 | 6 | GRIFFITF | 50043032.07apple4141 |