+ Reply to Thread
Results 1 to 5 of 5

VBA Remove First 10 Characters From string

  1. #1
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    VBA Remove First 10 Characters From string

    Hi, I wonder whether someone may be able to help me please.

    I'm trying to put together a snippet of code which trims the first 10 characters from each cell within a given range.

    I've done quite a bit of searching the web for this, and in all honesty, it's left me a little confused, and I'm not sure whether I should use "Trim", "Right" or "Len".

    The start and end of my code is as folllows which correctly assigns the command to the correct:

    Please Login or Register  to view this content.
    I just wondered whether someone could possible look at this please and offer some guidance on how I can resolve this.

    Many thanks and kind regards

  2. #2
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: VBA Remove First 10 Characters From string

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved , to mark your thread as Solved select Thread Tools and click Mark thread as Solved.

    I can't read the mind of my wife so then I get picture but no sound .... and then I mostly get the idea, same goes here picture your outcome and I get the idea.

  3. #3
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    Re: VBA Remove First 10 Characters From string

    Hi @hulpeloss, thank you very much for taking the time to reply to my post and for putting the guidance together.

    Forgive me for asking, but I'm a little sure how I could incorporate this into the script as per lines which I included in my initial post. Is this something you could perhaps help me with please?

    Many thanks and kind regards

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: VBA Remove First 10 Characters From string

    try
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    Re: VBA Remove First 10 Characters From string

    Hi @jindon, thank you very much for taking the time to reply to my post and for the solution, it works great.

    All the best and kind regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Remove certain characters from the end of a string only
    By mini_dutch28 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-20-2012, 01:04 PM
  2. Remove characters in a string.
    By jncswe in forum Excel General
    Replies: 2
    Last Post: 09-10-2010, 07:26 AM
  3. Remove Characters From Right of String
    By milagros in forum Excel General
    Replies: 11
    Last Post: 12-26-2009, 12:01 PM
  4. Remove last 4 characters from cell string?
    By chris-uk-lad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2009, 07:01 AM
  5. Replies: 5
    Last Post: 08-29-2005, 11:05 PM

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