Question : VBA Find and replace ASCII Chr

Hi

I have some code that runs a find and replace on the active document.  I need to replace an ASCII Charater for a point replaced with blank

Text currently looks like     Email: firstname.surname@company.co.uk * (note I have used an astrix to represent the point)

The code for the charactor needing to be replaced is

ASCII (Decimal) 149
ASCII (Hex) 0095
Unicode (Hex) 2022

Below is the current line of code

Call Replace("Email: firstname.surname@company.co.uk" & Chr(???) , "")

Cheers

Answer : VBA Find and replace ASCII Chr

If you already have the text in a string then your Replace should work OK:
Call Replace("Email: firstname.surname@company.co.uk" & Chr(149) , "")
Random Solutions  
 
programming4us programming4us