Going conditonal formatting crazy!

mona4

Board Regular
Joined
Sep 15, 2004
Messages
191
I am very frustrated, pls could someone help me with this. I copied one column that has conditional formatting to another workbook. But it now isnt working, none of the rows are highlighting anymore, any suggestions would be great!
 
Its not a formula error.
The formatting is taking place, you just can't see it.

Is this a New workbook you're copying into, or is it old?

(I suspect you need to delete some blank space.)
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
i copied the column into a new workbook and also deleted the space as u suggested
 
Upvote 0
Question about the formula.....does this formula require a special Add-In because all I get is #Name error?
 
Upvote 0
Ok, i have cracke it, i pasted this function code into the VB editor for my workbook. It now highlights correctly and should not display any name error!


Sub comments()
End Sub
Function CommentText(Cell As Range, Txt As String) As Boolean
Dim x As Comment
Set x = Cell.Comment
If x Is Nothing Then
CommentText = False
Else
CommentText = x.Text Like "*" & Txt & "*"
End If
End Function
 
Upvote 0
CommentText is a not a native excel function. It is a user defined function.

UDF's are extremely convenient and can be tailored to meet your needs. Just remember, it is possible for you to be the only person in the world with that exact UDF. In any case your other files will not have the UDF.

So if you copy this to a new workbook you need to copy over the code. Or if you have some functions you use a lot, make your own Add in, or you can put the code in your personal.xls
 
Upvote 0

Forum statistics

Threads
1,215,220
Messages
6,123,697
Members
449,117
Latest member
Aaagu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top