CodePudding user response:
Don't define the serial number column i++CodePudding user response:
Normally use i++ is no problem, but the cell merge it merged several columns order wrong this kind of situationCodePudding user response:
Program automatic merge cells?Two schemes, one is, in the process of the merger, each generated a merge cells, counter variable since a, the counter variable is the serial number,
Another is that when all cells are merger is completed, unified traverse again after the merger of a cell, as the traversal process, the serial number is the access to this a list of the number of cells,
CodePudding user response:
The number of traverse cellCodePudding user response:
I use the first way of three grams of oil