zs52411940
New Member
- Joined
- Jun 1, 2011
- Messages
- 7
Hello guys,
I want to solve the following problem:
The original form is like this
Product(column 1) Style(column 2)
A1 long/short/medium
B short/medium
C long/short
D long
E short
I want to change it to:
Product Style
A1 long
A1 short
A1 medium
B short
B medium
C long
C short
D long
E short
I used to use Text to Column to transfer the second column according to "/", then copy it one by one, like
Product Style
A1 long short medium
But, as there are so many data, it is just not realistic to do it like this anymore. Can anybody help me figure out how to write a vba code to solve this problem? (I borrow books from library, but they are about Excel for numerical methods)
Thanks in advance
I want to solve the following problem:
The original form is like this
Product(column 1) Style(column 2)
A1 long/short/medium
B short/medium
C long/short
D long
E short
I want to change it to:
Product Style
A1 long
A1 short
A1 medium
B short
B medium
C long
C short
D long
E short
I used to use Text to Column to transfer the second column according to "/", then copy it one by one, like
Product Style
A1 long short medium
But, as there are so many data, it is just not realistic to do it like this anymore. Can anybody help me figure out how to write a vba code to solve this problem? (I borrow books from library, but they are about Excel for numerical methods)
Thanks in advance