+ Reply to Thread
Results 1 to 5 of 5

Mid function to return part of String

  1. #1
    Forum Contributor
    Join Date
    09-18-2007
    Posts
    116

    Mid function to return part of String

    If a$="H123456" how could i get B$ to = a without the H.

    So in other words drop the first chr

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    =mid(a1, 2, 32766)

    Please use thread titles that are more descriptive of your problem.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello stoney1977,

    Here is another way...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    or......

    =REPLACE(A1,1,1,"")

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    It just occurred to me these are VBA string variables:
    Please Login or Register  to view this content.

+ 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