Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Excel Conditional Formating And Formulas


  • Please log in to reply
2 replies to this topic

#1 wce06

wce06

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:18 PM

Posted 21 November 2007 - 10:41 PM

Hello,

Could someone please help me, i have done a lot of work with excel, but have come across a problem that is driving me crazy.

What i am trying to do is i have a cell it has a "0" in it and the color of the cell is red, if i change the number to "15", the cell changes color to blue thanks to conditional formating.

But what i want to do now is if i change the "15" to BOLD, the cell will change color to green using conditional formating.

Does anyone know of a way to do this? Any solution would be greatly appreciated.

I simply need a way for excel to register that the number or letters have changed to BOLD and return a result.

I hope the above paragraph made sense with what im trying to do.

Cheers,

wce06 :thumbsup:

BC AdBot (Login to Remove)

 


#2 RenatoMejias

RenatoMejias

  • Malware Response Team
  • 913 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:18 AM

Posted 26 November 2007 - 12:22 PM

You can use a VBA code.

Sub teste()
	If Range("A1").Font.Bold = True Then
		MsgBox "oi"
	End If
End Sub

Renato Victor Mejias
Malware help in portuguese
jetian6yw.jpg

#3 wce06

wce06
  • Topic Starter

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:18 PM

Posted 26 November 2007 - 05:35 PM

Thankyou,

that helped, i knew it would be something simple.

Regards :thumbsup:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users