Excel vba macro to connect to a particular webpage - search and retrieve data -


I have a column, called column A, in which there are 1500 rows of each string (hexadecimal encoded) Connect is to paste the string, press on the decode, copy the result and paste it back into column B.

Any help would be very helpful I am new here

Example :.

String in column A: 5468616e6b732061206c6f7420696e20616476616e6365

To search the website:

  • Then hit to decode < / Li>
  • Copy from Excel cell and paste in the tab (under heading)>
  • Finally my Paste back into Excel Sheet in Column B.

    is moving forward for an answer.

    Thanks a million in advance.

    Are you doing it as an exercise to automate the browser? It seems as if you can more easily do this directly in VBA:

      sub-tester () Debug.Print fConvertHexToString (_ "5468616e6b732061206c6f7420696e20616476616e6365") End Sub Public function fConvertHexToString (strHexString string as strings) String dim intLenOfString integer dim intCounter integer dim strBuild string 'hex string must be as valid as that of a length, and it should be an even length , Then the lane (strHexString) = 0 or lane (strHexString) mod 2 & lt; & Gt; 0 Then exit the injection function intLenOfString = Lane (strHexString) for intCounter = 1 lane (strHexString) if intcounter mod 2 & lt; & Gt; 0 Then retrieve the value of the hex pair 'hex pair, then convert it to a character, then a base string strubil = strubil & amp; Crow $ (Val ("& amp; H" and Mid $ (strHexString, intCounter, 2)) End if the next fConvertHexToString = strbuild End Function    

  • Comments

    Popular posts from this blog

    java - ImportError: No module named py4j.java_gateway -

    python - Receiving "KeyError" after decoding json result from url -

    .net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -