Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-28-2015, 01:11 PM
charlesdh charlesdh is offline Macro will not read the value of cell with a formula in it! Windows 7 32bit Macro will not read the value of cell with a formula in it! Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Hi,


Your reference to "Calculate" you may try something along this order.

Code:
Private Sub Worksheet_Calculate()
Static oldval
If Range("C1").Value <> oldval Then
    oldval = Range("C1").Value
    '
    'rest of your code here
    '
End If
End Sub
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 06:18 PM.


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