Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selection.Replace What and double quotes
Hi all,
I need to replace double quotes " with nothing. However the code below does not work for double quotes. Selection.Replace What:=""", Replacement:="" Any ideas? Thanks, Ed |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selection.Replace What and double quotes
Change your What value to this...
What:="""" There are 4 quote marks after the equal sign. Rick "Ed Peters" wrote in message oups.com... Hi all, I need to replace double quotes " with nothing. However the code below does not work for double quotes. Selection.Replace What:=""", Replacement:="" Any ideas? Thanks, Ed |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selection.Replace What and double quotes
On 13 Sep, 07:26, "Rick Rothstein \(MVP - VB\)"
wrote: Change your What value to this... What:="""" There are 4 quote marks after the equal sign. Rick "Ed Peters" wrote in message oups.com... Hi all, I need to replace double quotes " with nothing. However the code below does not work for double quotes. Selection.Replace What:=""", Replacement:="" Any ideas? Thanks, Ed- Hide quoted text - - Show quoted text - Thanks but that does not work. I can replace any other character but not "... Ed |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selection.Replace What and double quotes
When I have problems with double quotes there is always one method that works
What:= chr(34) ' one quote or What:= chr(34) & chr(34) 'two quotes or What:= chr(34) & chr(34) & chr(34) 'three quotes "Ed Peters" wrote: On 13 Sep, 07:26, "Rick Rothstein \(MVP - VB\)" wrote: Change your What value to this... What:="""" There are 4 quote marks after the equal sign. Rick "Ed Peters" wrote in message oups.com... Hi all, I need to replace double quotes " with nothing. However the code below does not work for double quotes. Selection.Replace What:=""", Replacement:="" Any ideas? Thanks, Ed- Hide quoted text - - Show quoted text - Thanks but that does not work. I can replace any other character but not "... Ed |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selection.Replace What and double quotes
I need to replace double quotes " with nothing.
However the code below does not work for double quotes. Selection.Replace What:=""", Replacement:="" Any ideas? Change your What value to this... What:="""" There are 4 quote marks after the equal sign. Thanks but that does not work. I can replace any other character but not "... Did your line look like this... Selection.Replace What:="""", Replacement:="" ....four quotes for the What and two quotes for the Replacement? When I tried that line, it worked on my system. Rick |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selection.Replace What and double quotes
On Sep 13, 9:39 am, "Rick Rothstein \(MVP - VB\)"
wrote: I need to replace double quotes " with nothing. However the code below does not work for double quotes. Selection.Replace What:=""", Replacement:="" Any ideas? Change your What value to this... What:="""" There are 4 quote marks after the equal sign. Thanks but that does not work. I can replace any other character but not "... Did your line look like this... Selection.Replace What:="""", Replacement:="" ...four quotes for the What and two quotes for the Replacement? When I tried that line, it worked on my system. Rick- Hide quoted text - - Show quoted text - Thanks sorted it now, I need all the other default options included in the selection.replace for it to work. Ta Ed |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Double Quotes | New Users to Excel | |||
Double Quotes | Excel Discussion (Misc queries) | |||
double quotes when saving in CSV | Excel Programming | |||
Double Quotes | Excel Programming | |||
Double Quotes | Excel Programming |