Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro to output all possible inverted phrases

Status
Not open for further replies.

DannyTEM

Technical User
Jul 18, 2002
60
GB
If I have a column containing search keyphrases, is it possible using a VB macro to output all possible inverted 2 keyword phrases if they do not already exist?

For example:

keywork 1 keyword 2

Would be converted to keyword 2 keyword 1 if the inverted phrase did not exist already in the column.

Conversely, keyword 1 keyword 2 keyword 3 would not be processes as it is a 3 keyword phrase.

Thanks,

Dan

Dan Morgan -
 
Yes, it probably would. But what purpose would it serve? There may be a better way to do what you are trying to achieve...

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Thanks for your reply.

It is essentially a taxonomy project, I have a list of key phrases and the application requires that all 2 word keyphrases are also present in the column reversed or inverted.

Cheers,

Dan

Dan Morgan -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top