Consulting

Results 1 to 4 of 4

Thread: How to find a string in excel VBA

  1. #1

    How to find a string in excel VBA

    Hi,

    I have a requirements to find the string or cancatenate string in column A. Its possible to use excel vba or formula to do this. thank you.

    Column A--------------
    Label ---------------
    ALV3000430iPH5S32SIL
    DIR300XWHTSALV3003110REVERE3
    FALV3000460iPH5S64GLD
    ALV3003110VS985
    PP3000440iPH5C16BLU
    SALV3003110LUCID3
    SALV3003110VS985



    Column  D--------------------E -----------F
    Label      --------------Label1-------Label2
    --------------------------------
    ALV3000430iPH5S32SIL-----iPH5S32SIL--iPH5S32SIL
    DIR300XWHT---------------XWHT---------XWHT SALV3003110REVERE3-------REVERE3 ----REVERE3
    FALV3000460iPH5S64GLD----iPH5S64GLD--iPH5S64GLD
    ALV3003110VS985 ---------VS985 ------VS985
    PP3000440iPH5C16BLU------iPH5C16BLU--iPH5C16BLU
    SALV3003110LUCID3--------LUCID3------LUCID3
    SALV3003110VS985---------VS985-------VS985

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Yes it is possible!
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    In VBA, go to Help (Press F1) then under "Visual Basic Language Reference" look at "Indexes/Lists" and "String Manipulation Keyword Summary"

    In Excel Help (for formula functions), under "Function Reference," see "Text and Data Functions."
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  4. #4
    Thanks SamT

Posting Permissions

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