Consulting

Results 1 to 5 of 5

Thread: Get inner Text string Value

  1. #1

    Get inner Text string Value

    PLEASE, I NEED HELP,
    ALL I NEED IS SOME HELP IN HOW TO RETRIEVE "119328867"
    FROM THE BELOW SOURCE CODE (a link) FROM A WEBPAGE. No LOG-In's No Navigations, no tables...Just that value, Please any takers????????

    <SCRIPT LANGUAGE="JavaScript">
    //Table_Content
    var TABLE_CONTENT = [
    ["<a href=\'javascript:void(0);\' onClick=\'javas
    criptisplayMenuForDivision(285409280, 50, 119328867, 0, 0);\'><img
    src=\'/Images/IconDHTMLMenu.gif\' width=\'18\' height=\'18\' bor
    der=\'0\' title=\'Options Menu\' align=\'bottom\'></a>","<a href
    =\"Main.cfm?LoadId=1031&Include=/Sour
    ce/Sms/CandidateHomePage.cfm&ParentCont
    ainerId=1013&candidateId=119328867\">OK03SW145-B</a> <img
    align=\"absmiddle\" src=\"/Temp
    lates/Sprint/Images/PrimaryCandidate.gif\" width=\"11\" height=\"11\" tit
    le=\"This is the primary candidate\" border=\"0\">","<a href=\"Main.cfm?Loa
    dId=1031&Include=/So
    urce/Sms/CandidateH
    omePage.cfm&ParentContainerId=1013&candidateId=119328867\">Brian Van Horn</a>","<span class=\"Tex
    tSmall\">App</span>","<span cl
    ass=\"TextSmall\">720 Susan Avenue</span>","<span class=\"TextSmall\">Ada</s
    pan>","<span class=\"TextSmall\">OK</span>"]
    ];
    </SCRIPT>

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    If you can pass this data to a string, "str", then
    MyCode = split(str,",")(2) should return the value
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    mdmackillop:
    I am an IE object handler idiot
    can you elaborate more please?

  4. #4
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    MrMarlon

    If you persist with this type of request I will report you to the various forums you have posted to.

    As far as I recall the last post you made on MrExcel involved accessing a secure site, I'm not willing to help with that sort of thing and I don't know many people that are.

  5. #5
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Quote Originally Posted by MrMarlon
    mdmackillop:
    I am an IE object handler idiot
    can you elaborate more please?
    Sorry, I'm out of my depth with IE as well.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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