Difference between revisions of "XL3TrackChanges"

(Examples)
(Examples)
Line 24: Line 24:
 
{{Code|XL3TrackChanges($A$1,$A$4:$E$28,$F$4:$F$28)}}
 
{{Code|XL3TrackChanges($A$1,$A$4:$E$28,$F$4:$F$28)}}
  
''When a cell within the $A$4:$E$28 range is changed, the corresponding cell value is set to TRUE for the same row in the $F$4:$F$28 column.
+
''When a cell within the $A$4:$E$28 range is changed, the corresponding cell value is set to TRUE for the same row in the $F$4:$F$28 range.
 
When the value of $A$1 is set to TRUE, all the rows tracked in the $F column are cleared.''
 
When the value of $A$1 is set to TRUE, all the rows tracked in the $F column are cleared.''
  

Revision as of 14:25, 11 October 2021

Allows to track the rows in an Excel range for which at least one value was changed (often used in conjunction with XL3Filter to restrict the scope of records to be updated by an SQL stored procedured fired by XL3RunSQLProc2).

Syntax

XL3TrackChanges( Clear, Input, Output )

Parameters

Parameter Description
Clear A cell reference that should contain TRUE when the list of tracked changed rows should be cleared.
Input The range to watch for changes.
Output The range to mark when changes occur.

Examples

XL3TrackChanges($A$1,$A$4:$E$28,$F$4:$F$28)

When a cell within the $A$4:$E$28 range is changed, the corresponding cell value is set to TRUE for the same row in the $F$4:$F$28 range. When the value of $A$1 is set to TRUE, all the rows tracked in the $F column are cleared.

See Also