Hi ,
My problem is not easy to describe but I will try to be as simple as possible.
I import a csv file into Excel but the csv is not filtered.
Depending on a value in Column B, I would like to re-order the column D to AL.
In the attached file, for example, for all value in column B = 113, I would like to order the following groups:
D to H, filter is ‘Tag’
I to M, filter is ‘Type’
N to R filter is ‘Stock Code’
S to W filter ‘STD’
for all value in column B = 228, I would like to order the following groups:
D to H, filter is ‘Tag’
I to M, filter is ‘Type’
N to R filter is ‘Stock Code’
S to W filter is ‘STD’
X to AB filter is ‘Emergency’
AC to AG filter is ‘Panel’
AH to AL filter is ‘CKT’
Instead of making a long and painfull speech, the result I would like is in cells A28 a AL51.
I have been told to use a ‘Collection’ or ‘scripting.dictionary’; the process will be fast to execute the macro but I am not familiar with these.
NB, In the original file, there are much more values in column B to ber e-ordere.
Thank you
Herve
My problem is not easy to describe but I will try to be as simple as possible.
I import a csv file into Excel but the csv is not filtered.
Depending on a value in Column B, I would like to re-order the column D to AL.
In the attached file, for example, for all value in column B = 113, I would like to order the following groups:
D to H, filter is ‘Tag’
I to M, filter is ‘Type’
N to R filter is ‘Stock Code’
S to W filter ‘STD’
for all value in column B = 228, I would like to order the following groups:
D to H, filter is ‘Tag’
I to M, filter is ‘Type’
N to R filter is ‘Stock Code’
S to W filter is ‘STD’
X to AB filter is ‘Emergency’
AC to AG filter is ‘Panel’
AH to AL filter is ‘CKT’
Instead of making a long and painfull speech, the result I would like is in cells A28 a AL51.
I have been told to use a ‘Collection’ or ‘scripting.dictionary’; the process will be fast to execute the macro but I am not familiar with these.
NB, In the original file, there are much more values in column B to ber e-ordere.
Thank you
Herve