dtjohnson / xlsx-populate

Excel XLSX parser/generator written in JavaScript with Node.js and browser support, jQuery/d3-style method chaining, encryption, and a focus on keeping existing workbook features and styles in tact.
MIT License
956 stars 183 forks source link

Cloning a sheet from one workbook to another #356

Open marcschroeder opened 1 year ago

marcschroeder commented 1 year ago

Cloning a sheet from one workbook to another seems to be working just fine using the cloneSheet method. However the cloned sheet is not using the styles and formatting from the original sheet but from the first sheet in the second workbook.

Is there a way to prevent this behaviour and use the styles from the original sheet?