This macro will loop through rows 30 to 400 changing D value so BH value is equal to 1.
What I'm not sure about is
and ideally it should be automatic, meaning any change automatically finds the value on column D
You run the above macro and this changes all D values from D30 to D400 to "meet" specification i.e. BH30 to BH400 = 1.
Do you wish the macro to "fire" if there is a changed value in the spreadsheet? If so add the "workings" of this macro i.e.
in the "Private Sub Workssheet_Change" macro (post #2) and adjust the "sensitive" area to suit your needs.
Alf
Bookmarks