ssis - Excel formula changes when columns are added dynamically -
i have excel workbook sheet1 cell a10 refers sheet2 cell a1. using formula
sheet2!$a$1
i run ssis package, has script task adds column , row sheet2. formula automaticlly changes
sheet2!$b$2
although using absolute formula, dont expected. ideas on how achieve want?
please try =indirect(a11)
(adjust a11 suit) instead of =sheet2!$a$1
, in a11 (or wherever chosen) =address(1,1,1,1,"sheet2")
. think should want if understand correctly - ie not want follow a1 around rows/columns added literally top left hand corner, regardless of column/row changes.
Comments
Post a Comment