The VP Get spans command retrieves the cell spans in the designated rangeObj.
In rangeObj, pass a range of cell spans you want to retrieve. If rangeObj does not contain a cell span, an empty range is returned.
To center the text for the spanned cells in this document:

use this code: