Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Gang -
In set range r this code works: With r .formula = .value End With This doesn't: With r .formula = vba.replace(.value,chr(160),chr(32),1) End With What am I missing? Thanks in advance. ....best, Hash |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is this what you want?
For Each cell In r cell.Value = Replace(cell.Value, chr(160), chr(32), 1) Next " wrote: Gang - In set range r this code works: With r .formula = .value End With This doesn't: With r .formula = vba.replace(.value,chr(160),chr(32),1) End With What am I missing? Thanks in advance. ....best, Hash |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
rowno = Selection.Find("123").Row
" wrote: Gang - In set range r this code works: With r .formula = .value End With This doesn't: With r .formula = vba.replace(.value,chr(160),chr(32),1) End With What am I missing? Thanks in advance. ....best, Hash |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Putting a Snippet of Text in a Cell | Excel Discussion (Misc queries) | |||
Code snippet storage | Excel Programming | |||
Help Deciphering a Lotus Macro Snippet | Excel Programming | |||
MaxRows 65536 in a sheet - A Code Snippet | Excel Programming |