modifying conditional format

  • Thread starter Thread starter Jon Lea
  • Start date Start date
J

Jon Lea

Hi.

I need to select a column of figures and modify the
formula of the first of three conditional formats. It
needs to be done in code as part of a sheet that formats
other spreadsheets.

Can anyone help?
 
Hi.

I need to select a column of figures and modify the
formula of the first of three conditional formats. It
needs to be done in code as part of a sheet that formats
other spreadsheets.

Can anyone help?

Why don't you use the "record" option for Excel-macros? That way you can
check how Conditional Formatting is used through VB-code.

Or do you need specific information on this subject? I.e. you did use the
"record" function, but it isn't good enough for your problem.

CoRrRan
 
I didn't use the record function. I've never used it
before so didn't know it would give me the relevant code.
Will it work even though the column number of rows can
change?
 
Genius. I tried the recorder and it gave me the exact
code I needed for all conditions. Cheers!
 
Genius. I tried the recorder and it gave me the exact
code I needed for all conditions. Cheers!

Glad to be of help. And remember this function of Excel, it is VERY VERY
usefull. Sometimes even for people who have been using VBA for a number of
years...

CoRrRan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top