• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

I hate macros

LisaContractorUmbrella

Umbrella Queen
Thanks received
221
Hey guys sorry to do this to you Friday pm but HELP!!!!!!! Recorded a macro which has ground to a halt and the debug says the problem is here:

Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
With Selection.FormatConditions(1).Font
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
End With

Was a simple conditional format to say that if the column contained a certain text change the font to white.

As always any ideas gratefully received


Don't worry - sussed it - have a good weekend all
 
Last edited: 14:17
good to hear it. I did see that on Friday but though...can't be bothered.

Ting is, people who don't know Excel VBA wouldn't be able to help, but people who do know Excel VBA would want to start from scratch and needs lots of context information.
 
good to hear it. I did see that on Friday but though...can't be bothered.

Ting is, people who don't know Excel VBA wouldn't be able to help, but people who do know Excel VBA would want to start from scratch and needs lots of context information.

Thanks Mr Lizard - does seem that people in the know are quite um well passionate about VBA - saving your Lizardship's pardon of course
 
I have to ask though.... why couldn't you use the conditional formatting feature in Excel, rather than using VBA?

R.
 

Advertisers

Back
Top