Results 1 to 3 of 3

Thread: Excell - reduce cell value by symbols

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    9

    Excell - reduce cell value by symbols

    Hello all,

    I have VB v.6.3. and Excell 2003.

    I did many google.com searches but still couldn't find a solution to reduce Excell's cell value by NN symbols from left or right.

    The thing is, I have a prefix like www. and I'd like to cut it 4 symbols.

    I suppose it's possible with VB, but as far as I couldn't find an example and haven't used VB for scripting vefore, I hope to find some help here.

    Cheers!

  2. #2
    Fanatic Member Comintern's Avatar
    Join Date
    Nov 2004
    Location
    Lincoln, NE
    Posts
    826

    Re: Excell - reduce cell value by symbols

    I'm not sure I understand exactly what you are trying to do. You can use the LEFT and RIGHT worksheet functions to remove characters if that is what you are looking for:
    =RIGHT(A1,LEN(A1)-4) will strip 4 characters from the left.
    =LEFT(A1,LEN(A1)-4) will strip 4 characters from the right.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    9

    Re: Excell - reduce cell value by symbols

    Thanks, you saved hours of my struggles!

    Now I realize that simple things are so hard to find sometimes!..

    :-)

    Cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width