Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I did a search and replace, looking for double quotes and replacing
with nothing, which worked. If you REALLY need a macro to do it, this one will: Sub RemoveQuotes() Dim rCell As Range Dim CellVal As String Dim NewVal As String Dim K As Byte Application.Calculation = xlCalculationManual For Each rCell In Selection.Cells CellVal = Trim(rCell.Value) rCell.ClearContents For K = 1 To Len(CellVal) If Asc(Mid(CellVal, K, 1)) < 34 Then NewVal = NewVal & Mid(CellVal, K, 1) End If Next K rCell.Value = NewVal NewVal = "" Next rCell Application.Calculation = xlCalculationAutomatic End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Finding cells with a specific number of characters | Excel Discussion (Misc queries) | |||
Text String - Specific Characters | Excel Worksheet Functions | |||
number returns only two decimal places after I change from text | Excel Discussion (Misc queries) | |||
trim a string by specific number of characters | Excel Discussion (Misc queries) | |||
how do I highlite text within a cell (specific characters) | Excel Discussion (Misc queries) |