Results 1 to 8 of 8

Modify a "Split" statement

Threaded View

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,177

    Modify a "Split" statement

    I had help in the past from this forum to make a split statement
                    For Each Sh4Cell In Sh4Range
                        If Left(Sh4Cell, 4) = "TA(#" Then
                            sBubbleNumber = Split(Replace(Sh4Cell, "TA(#", "", 5), "-")(0)
    The above takes a cell with data like this:
    "TA(#31," and splits it like this:
    "31"

    Now I have another unique split. Using the same example above but modifying the cell data.
    "TA({#31," and splits it like this: (Added a "{" )
    "{31}" (adding an ending "}" )

    Any hints, tips or examples are appreciated.
    Last edited by Rick_Stanich; 04-05-2011 at 03:37 PM.
    Regards

    Rick
    Win10, Office 365

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