Iterator<Formula> ii= members.iterator();
while (ii.hasNext()) {
Formula f= ii.next();
f.clearCachedValue();
// also update PtgExp
PtgExp pointer = (PtgExp) f.getExpression().get(0);
pointer.setRowFirst(pointer.getRwFirst()+shiftamount);
}
setFirstRow(rwFirst + shiftamount);
setLastRow(rwLast + shiftamount);
for (int i= 0; i < ptgcache.length; i++) {
if (ptgcache[i] instanceof PtgRefN)