Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This should be very simple, but can't seem to make it work properly ..
The following procedure is called from another as application.run. All it needs to do is delete the only row that contains the text Average Prices. .... If the text Average Prices doesn't exist, don't delete anything/do nothing and move on. Thanx in advance for any assistance. - Mike Sub RemoveAvgPricesBOD() On Error Resume Next If Cells.Find(What:="Average Prices") = True Then Cells.Find(What:="Average Prices").EntireRow.ClearContents If Cells.Find(What:="Average Prices") = False Then Exit Sub End If End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
=IF(test,true,false) only ever returns "true"? | Excel Worksheet Functions | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Typing "true" excel 2007 change it to "TRUE" | Excel Discussion (Misc queries) | |||
Two answers to a true "If": =if(a,b*and c,d)?;b&C true, d false? | Excel Programming | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |