Remove this symbol "

fredrerik84

Active Member
Joined
Feb 26, 2017
Messages
383
Hi I have quick question. Ive run into a problem I dont know how to remove this symbol from a string "

Ive tried this:
Code:
sTitle = Replace(sTitle, """, "")


Anyone know how I can replace this symbol with nothing ?

frederik
 
Here is a small sample that shows how it is stored in excel

<a href=http://www.filedropper.com/strangebehavior><img src=http://www.filedropper.com/download_button.png width=127 height=145 border=0/></a><br /><div style=font-size:9px;font-family:Arial, Helvetica, sans-serif;width:127px;font-color:#44a854;> <a href=http://www.filedropper.com >share files free</a></div>
I no longer try figure out which download button or link is the right one from sites like the one you posted on... my suggestion would be to post it on DropBox.
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Its not styled,, Its scraped from a web pages and it looks like multilinetext in one cell but in not able to split it with this code:
Rich (BB code):
sTitle = Trim(Split(sTitle, vbCrLf)(1))
It's not CHR(13), it's CHR(10)
Actually, vbCrLf is a two character sequence... a Carriage Return followed by a LineFeed, that is, a Chr(13) followed by a Chr(10). That character sequence is what PC's use to mark the end of a line (record) in a text file.
 
Last edited:
Upvote 0
Not disagreeing, but VBA returns the same ASCII code for both.

In the immediate window,

? ASC(vbcr) returns 13
? ASC(vbcrlf) returns 13

However, doing a direct comparison returns FALSE
? vbcr = vbcrlf
False
 
Last edited:
Upvote 0
Not disagreeing, but VBA returns the same ASCII code for both.

In the immediate window,

? ASC(vbcr) returns 13
? ASC(vbcrlf) returns 13

However, doing a direct comparison returns FALSE
? vbcr = vbcrlf
False
The ASC function returns the code for the first character in a text string even if that text string has more than one character in it.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,023
Latest member
alabaz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top