+ Reply to Thread
Results 1 to 4 of 4

spliting text

  1. #1
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    spliting text

    I have found a spreadsheet with a fixture list on you input the number of teams on sheet 1 and it print outs the fixture list on sheet 2.

    What i would like to do is have the home team on cell a and the away team on cell b, can somebody take a look at it and see if they can help me with this i have included the sheet.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: spliting text

    Sheepkin_Coat,

    I have attached a modified version of that spreadsheet that splits the names into two columns.

    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Re: spliting text

    Quote Originally Posted by tigeravatar View Post
    Sheepkin_Coat,

    I have attached a modified version of that spreadsheet that splits the names into two columns.

    Hope that helps,
    ~tigeravatar

    Could you explain where you made the changes please, also if the team has a space in it like Aston Villa then lla goes onto the b column

    And Thanks

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: spliting text

    Sheepkin_Coat,

    Thanks for the tip, I hadn't thought about a space in team names, that has been fixed in the attachment to this post.

    As for where the changes are:

    In Sub FillList(ByVal NumPlayers As Integer) I added the following code:

    Please Login or Register  to view this content.


    That code calls a UDF titled SearchString, which I added at the bottom of the module:

    Please Login or Register  to view this content.


    Hope this helps,
    ~tigeravatar
    Attached Files Attached Files

+ 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