troubleshooting Question

Can I use VBA or functions to apply conditional formatting in Excel?

Avatar of Number5ix
Number5ixFlag for Australia asked on
Microsoft ExcelVB Script
9 Comments1 Solution436 ViewsLast Modified:
Hi all,

I've got a whole bunch of Excel VBA functions that work really well and produce some data re disk space usage.  The results are in TEXT format, for example:

500GB vraid1 (1000GB used), savings = 375GB

This means that conditional formatting won't work seeing as the cell's contents aren't a number.

Is there a way I can apply conditional formatting from within VBA?  I know I can format cells as numbers etc but that's not what I'm after.

I'm specifically wanting to apply a data bar conditional format if the number at the END of the example above is a certain number (i.e. 375 would produce a blue bar).

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros