HI
I wrote a VBA code by using Sumifs function. in this code i find out starting column number (for each category box), ending column number for merged cell by using #selection.columns.count# in 2nd row & 11th row (first attachment). sometimes this formula returns 1 even though there are 6 cells in Mergearea. When we run the code by using F5, this formula is not working properly. in the summary sheet (first attachment) few violet BOXES were not getting result. please help me.
thank you in advance.
Regards
shiva
I wrote a VBA code by using Sumifs function. in this code i find out starting column number (for each category box), ending column number for merged cell by using #selection.columns.count# in 2nd row & 11th row (first attachment). sometimes this formula returns 1 even though there are 6 cells in Mergearea. When we run the code by using F5, this formula is not working properly. in the summary sheet (first attachment) few violet BOXES were not getting result. please help me.
thank you in advance.
Regards
shiva