Search a String - Please Help?!?!
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Search a String - Please Help?!?!

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Posts
    97
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a cell that contains a string, part of which I want to do a test on. Something like this "Next Grade 178359". I want to check the 6 digit number, not the text. I know this can be done in VBA, I just can't think this morning. Please help...


    [ This Message was edited by: charlie79 on 2002-03-12 06:03 ]

  2. #2
    MrExcel MVP Barrie Davidson's Avatar
    Join Date
    Feb 2002
    Location
    Winnipeg
    Posts
    2,330
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    On 2002-03-12 05:51, charlie79 wrote:
    I have a cell that contains a string, part of which I want to do a test on. Something like this "Next Grade 178359". I want to check the 6 digit number, not the text. I know this can be done in VBA, I just can't think this morning. Please help...


    [ This Message was edited by: charlie79 on 2002-03-12 06:03 ]
    Assuming it's always the last six digits,

    =RIGHT(A1,6)

    Regards,
    Barrie Davidson

    "You're only given a little spark of madness. You mustn't lose it." - Robin Williams

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com