MergedCells only exist because Excel makes a mess when formatting ranges of merged cells. Normally when you merge cells, all but the top-left cell are deleted. However, if the range has a border then Excel creates cells for the borders. In the GUI this is less of a problem because the user cannot do anything in those cells, but for any library handling the worksheet the cells are just normal cells. This is why we introduced merged cells whose only purpose is to mimic Excel's way of dealing with borders, whilst at the same time making it clear to client code that the cells are not relevant: the value is always None and the cells have only the attributes they need to preserve formatting. In general, you don't need to think about them, just put it down to yet another annoying thing in Mypy…
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Waldlehne 23
Düsseldorf
D- 40489
Mobile: +49-178-782-6226