+ Reply to Thread
Results 1 to 3 of 3

Sentence Scrambler Help-- (Solved)

  1. #1
    Registered User
    Join Date
    06-06-2010
    Location
    Seoul
    MS-Off Ver
    Excel 2007
    Posts
    5

    Unhappy Sentence Scrambler Help-- (Solved)

    Hi all. I'm trying to rearrange the order of the words randomly within a cell. I'm getting a type mismatch error. Here's what I've got so far:

    Please Login or Register  to view this content.
    The ShuffleArray function is here: http://www.cpearson.com/excel/ShuffleArray.aspx

    If I comment out the ShuffleArray line, everything else works fine. What am I doing wrong?
    Last edited by synkarius; 02-04-2011 at 08:11 AM. Reason: solved

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,255

    Re: Sentence Scrambler Help-- almost got it

    Hi,

    Change the ShuffleArray function signature to this:

    Please Login or Register  to view this content.
    You will get an error if the activecell is empty so you should add a check for that too.
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Registered User
    Join Date
    06-06-2010
    Location
    Seoul
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Sentence Scrambler Help-- (Solved)

    So. Fast.

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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