Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do i reset cells wich contain 0 (zero) to an empty cell.:
1.For an entire column 2. For a certain range, example I2 to I25 Thanxxx, Luc |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveSheet.Range("I2:I25").Select
Selection.Replace What:="0", Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False -- Best wishes, Jim "Luc" wrote: How do i reset cells wich contain 0 (zero) to an empty cell.: 1.For an entire column 2. For a certain range, example I2 to I25 Thanxxx, Luc |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Select the cells (column or just a set of them) and run:
Sub clearum() For Each r In Selection If r.Value = 0 Then r.Clear End If Next End Sub -- Gary''s Student gsnu200709 "Luc" wrote: How do i reset cells wich contain 0 (zero) to an empty cell.: 1.For an entire column 2. For a certain range, example I2 to I25 Thanxxx, Luc |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
To replace 0 with "" in Column B:
Range("B:B").Replace What:="0", Replacement:="", lookat:=xlWhole, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False To do the same thing for I2 to I25, replace "B:B" with "I2:I25". "Luc" wrote: How do i reset cells wich contain 0 (zero) to an empty cell.: 1.For an entire column 2. For a certain range, example I2 to I25 Thanxxx, Luc |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("B:B") = empty
"Luc" wrote: How do i reset cells wich contain 0 (zero) to an empty cell.: 1.For an entire column 2. For a certain range, example I2 to I25 Thanxxx, Luc |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("B:B") = empty
"Luc" wrote: How do i reset cells wich contain 0 (zero) to an empty cell.: 1.For an entire column 2. For a certain range, example I2 to I25 Thanxxx, Luc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Resetting cells to zero value. | New Users to Excel | |||
Resetting cells | Excel Worksheet Functions | |||
macro to colour empty cells (cells not recognized as empty) | Excel Programming | |||
resetting controlsource cells | Excel Programming | |||
Resetting cells | Excel Programming |