String newseries= ExcelTools.formatLocation(rc, pr.isRowRel(), pr.isColRel());
if (isRange && newseries.indexOf(":")==-1) // handle special case of SHOULD be a range but 1st and last match
newseries= newseries + ":" + newseries;
newseries= sht+ "!" + newseries;
// Adjust Legend Range
Ai legend= s.getLegendAi();
rc= ExcelTools.getRowColFromString(legend.getDefinition());
if (rc[0]==rownum)
rc[0]--;
String legendRange= ExcelTools.formatLocation(rc);
// Adjust Bubble Range if present
Ai bubble= s.getBubbleValueAi();
String bubbleRange= "";
if (bubble!=null && !bubble.getDefinition().equals("")) {
rc= ExcelTools.getRowColFromString(bubble.getDefinition());
if (rc[0]==rownum)
rc[0]--;
if (rc.length>2)
rc[2]--;
bubbleRange= ExcelTools.formatLocation(rc);