I am copying a payment confirmation number from a web page
Conf code.png
When I right click and paste to match destination format it pastes into my spreadsheet with a soft hyphen and looks like this:
conf formatting.png
The HTML code on the web page is this:
shy code.png
If i paste the same value into the notepad it pastes the hyphen and I can delete it and then paste it back into Excel but that is time consuming.
I need those numbers to bounce against another spreadsheet to confirm that the confirmation numbers are valid.
Paste Special of the worksheet class will remove html but I am getting a runtime error 1004.
I just got back into vba after five years off and my html is next to nothing.
Please be kind!
Bookmarks