Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Anyone know how to pick out a digit in a string of characters like
this? =---FS- 12345 I am trying to replace the first character and my code keeps coming back with "type mismatch error 13". My code is simple (but wrong). I am trying to get rid of the = character and replace it with a ' . Thx Chet Sub REMOVE_INVALID_DATA_PHX_DOWNLOAD() MaxRow = ActiveSheet.Range("A65536").End(xlUp).Row For Rowy = 2 To MaxRow Target = Left(Cells(Rowy, 11), 1) If Target = "=" Then Target = "'" Left(Cells(Rowy, 11), 1) = Target Next Rowy End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Replace character in string, not document | Excel Programming | |||
Extracting a character from a string of characters | Excel Discussion (Misc queries) | |||
Remove all characters following the first character in a string | Excel Discussion (Misc queries) | |||
want to remove all text characters equal to one character in length from text string | Excel Worksheet Functions | |||
How do I replace * as a character in a string in Excel? | Excel Programming |