+ Reply to Thread
Results 1 to 5 of 5

Editing code to show common four-word combinations in a column

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Editing code to show common four-word combinations in a column

    Quote Originally Posted by shg View Post
    Thanks.

    Try this:
    Please Login or Register  to view this content.
    I've just managed to use this to find common words and two- and three-word combinations in a spreadsheet showing questions entered in a search box (Thanks @shg). It was my first time using vba code but it worked fine and dandy.

    However I would also like to show common four-word combinations. Can someone advise me which part of the code influences how many words can be included when looking for common word combinations, and how to adjust it so I can see common four-word combinations too?

    Thanks

    G
    Last edited by Glayva; 07-07-2011 at 06:47 AM. Reason: To indicate solved

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Editing code to show common four-word combinations in a column

    I think you just add this to the end of Test:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Editing code to show common four-word combinations in a column

    Quote Originally Posted by StephenR View Post
    I think you just add this to the end of Test:
    Please Login or Register  to view this content.
    Aha! So simple! Thank you

    G

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Editing code to show common four-word combinations in a column

    alternative:

    Please Login or Register  to view this content.
    Last edited by snb; 07-07-2011 at 09:54 AM.



  5. #5
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Editing code to show common four-word combinations in a column

    Quote Originally Posted by snb View Post
    alternative:

    <code>
    Thanks @snb. I am new to excel coding. What's the main difference between the two examples?

    Thanks

    G

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1