Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Created Unassigned: Copy worksheet and insert new row [15337]

$
0
0
When I copy a worksheet and insert a new row, the generated file is damaged. My solution is to use

_added._sharedFormulas.Add(key, (Copy._sharedFormulas[key]).Clone());_

in _CloneCells_ function

and using

public Formulas Clone()
{

Formulas newF = this.MemberwiseClone() as Formulas;
newF._tokenizer = SourceCodeTokenizer.Default;
return newF;
}

inf _Formulas_ class

Viewing all articles
Browse latest Browse all 2262

Trending Articles