Hi!
This seems a very interesting code for me, however I couldn't figure out how I could solve it.
I need to build an alphabeticel order from the words of cells.
Sample:
Column "A" (Input)
The apple is red.
Banana is unhealthy.
Cambridge is a very nice place.
Buy a camion.
Visiting Canada is always a fun.
Column "B" (Output)
apple
banana
cambridge
camion
canada (upper and lower case doesnt matter)
So if B1 is given (apple) and we compare each word of a cell in column "A" to find the closest word to apple, then the list could be built.
The apple is red. Apple
Banana is unhealthy. From these words which is the nearest to apple? --> Banana
Cambridge is a very nice place. to Banana? --> Cambridge
Buy a camion. and so on...
Visiting Canada is always a fun.
Or if we make an alphabetical order using the words in A2 (Banana is unhealthy) and B1 (Apple), then the word after "apple" is the word we need
1. apple
2. banana
3. is
4. unhealthy
Banana is after apple, so that is what we need.
Sory for the long explanation.
Is there anybody, who could solve this using VBA code?
Thank you for your help! Have a very nice day!
This seems a very interesting code for me, however I couldn't figure out how I could solve it.
I need to build an alphabeticel order from the words of cells.
Sample:
Column "A" (Input)
The apple is red.
Banana is unhealthy.
Cambridge is a very nice place.
Buy a camion.
Visiting Canada is always a fun.
Column "B" (Output)
apple
banana
cambridge
camion
canada (upper and lower case doesnt matter)
So if B1 is given (apple) and we compare each word of a cell in column "A" to find the closest word to apple, then the list could be built.
The apple is red. Apple
Banana is unhealthy. From these words which is the nearest to apple? --> Banana
Cambridge is a very nice place. to Banana? --> Cambridge
Buy a camion. and so on...
Visiting Canada is always a fun.
Or if we make an alphabetical order using the words in A2 (Banana is unhealthy) and B1 (Apple), then the word after "apple" is the word we need
1. apple
2. banana
3. is
4. unhealthy
Banana is after apple, so that is what we need.
Sory for the long explanation.
Is there anybody, who could solve this using VBA code?
Thank you for your help! Have a very nice day!
Last edited: