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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -