Hi friends,
I want to merge cells if the column ‘B, d, f, h, j, l, n, p, r, w’ are blank.
If column ‘B’ is blank then merge columns ‘A:B’.
If column ‘d’ is blank then merge columns c:d’.
If column ‘f’ is blank then merge columns ‘e:f’.
If column ‘h’ is blank then merge columns ‘g:h’.
If column ‘j’ is blank then merge columns ‘i:j’.
If column ‘l’ is blank then merge columns ‘k:l’.
If column ‘n’ is blank then merge columns ‘m:n’.
If column ‘p’ is blank then merge columns ‘o:p’.
If column ‘r’ is blank then merge columns ‘q:r’.
If column ‘w’ is blank then merge columns ‘v:w’.
I want to repeat it for each subject ‘s1:s9 and t’.
The range of marks is row 26, 44, 62, 80, 98 and so on skipping 17 rows endlessly as per the students in the class.
I’m getting compile error 1004.
Any help will be highly appreciated.
Thanking you in anticipation.
Bookmarks