Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For x = 1 To Len(strVar)
If Mid(strVar, x, 1) = " " Then Mid(strVar, x, 1) = "_" End If Next x I haven't tested this, but it works in theory. Let me know if you hav any problems - Piku -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Doing a replace with a wildcard charcter | Excel Discussion (Misc queries) | |||
Finding a charcter in a text string (take2) | About this forum | |||
Finding a charcter in a text string | Excel Worksheet Functions | |||
Replace Space charcter in a string variable | Excel Programming | |||
Macro to delete last charcter in a text string | Excel Programming |