Switching Auto_threshold for bright to dark objects
I recorded a macro where i clicked on the auto threshold for bright objects.I also recorded a macro where I manually changed threshold level setting. When i looked at the code for both macros they looked identical?. I want to change a lengthy macro where rather than identifying bright obejcts automatically I extract the dark object automatically. How can I do this without having to re-record the process. Code (partly) and design attached.