Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-28-2015, 11:56 AM
grayson1231 grayson1231 is offline Macro will not read the value of cell with a formula in it! Windows 7 64bit Macro will not read the value of cell with a formula in it! Office 2010 64bit
Novice
Macro will not read the value of cell with a formula in it!
 
Join Date: Mar 2015
Posts: 4
grayson1231 is on a distinguished road
Default

Thank you for the reply. Unfortunately, it did not work. I simply added the ".Text" without making any other changes.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address(0, 0).Text = "ES4" Then
If Target.Value >= 0.1 Then
ActiveSheet.Shapes("LHPHard1_1").Fill.ForeColor.RG B = RGB(192, 0, 0)
ElseIf Target.Value >= 0.07 Then
ActiveSheet.Shapes("LHPHard1_1").Fill.ForeColor.RG B = RGB(218, 150, 148)
ElseIf Target.Value <= 0.04 Then
ActiveSheet.Shapes("LHPHard1_1").Fill.ForeColor.RG B = RGB(0, 0, 255)
Else
ActiveSheet.Shapes("LHPHard1_1").Fill.ForeColor.RG B = RGB(166, 166, 166)
End If
End If
Reply With Quote
 

Tags
macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro will not read the value of cell with a formula in it! Read cell from one table into another donaldadams1951 Word VBA 2 02-04-2015 06:46 PM
Macro to copy formula from one cell to another anwar Excel Programming 1 04-25-2014 08:27 PM
Macro will not read the value of cell with a formula in it! Formula in cell b1 using cell a1 if a1 is over certain number pumkinbug87 Excel 5 12-03-2013 12:34 PM
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
how to read R1C1 formula Suhanti Excel 2 10-16-2010 11:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft