excel - VBA - Possibility of saying that SheetChange in specific Range is "something like True"? -
first, must admit newbie here , in vba too. thank forum! :)
i have program reacts on sheetchange save data. however, if there formula added macro, doesn't cause sheetchange. copying , inserting values isn't possible - there 7k rows , program acts on every sheetchange (colors , other stuff) - time not bearable.
is there possibility have enableevents = false
(to turn of getting sheetchange), specify range of changed cells (always rather whole column - there 2 columns interest me) , let program save data. coloring of cells , on remain (this coloring , on has stay in program)
is possible work? if could, how should tell macro specific range has sheetchange?
apologies if question totally stupid.
thank reading @ least.
in sheet change event, specify should save when target
within specified range. formulas, use calculate
event , repeat same code.
so, if want save when changed cell in first column , within row range (for example), add if target.column = 1 , target.row > 5 , target.row <= 10 then
change event.
for formula issue, add following routine
private sub worksheet_calculate() 'your code here end sub
Comments
Post a Comment