Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When you have alot of links in a spreadsheet executing code based on
events can be problematic. You would be better of running a routine based on time. 'This should be placed in the ThisWorkbook Module Private Sub Workbook_Open() Call Scan End Sub 'Regular code module Public Sub Scan() 'Every second evaluate Links to see if they have changed RunWhen = Now + TimeSerial(0, 0, 1) Application.OnTime earliesttime:=RunWhen, procedu="Scan", _ schedule:=True End Sub Jonas wrote in message ... Is there a way to run a VBA macro each time that a value in the active worksheet resolves as true etc? Maybe there is a simpler way. A machine process uses a DDE link to update values in a worksheet. Each time that the value (or values) change, I want to add them to a database. Thanks for any help. Jonas --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search for TRUE in spreadsheet | Excel Discussion (Misc queries) | |||
Running a Macro from a Spreadsheet Function | Excel Worksheet Functions | |||
Prevent A Macro From Running If SpreadSheet is Filtered | Excel Worksheet Functions | |||
If "true" run a Macro | Excel Worksheet Functions | |||
Launch Macro in Access via Macro running in Excel??? | Excel Programming |