MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

[question] 1) how can i add a row above the table add some text in it. ? 2) and merge the cells a1 to g1 ?

Open blackholeearth opened this issue 1 year ago • 5 comments

Excel Type

  • [x] XLSX
  • [ ] XLSM

MiniExcel Version

Description

[question]

  1. how can i add a row above the table add some text in it. ?
  2. and merge the cells a1 to g1 ?

EXCEL_sQeXXrBglL

blackholeearth avatar May 31 '24 12:05 blackholeearth

这个功能确实很实用,希望在SaveAs之前可以写入标题或其他的说明性文字.

6933 avatar Jun 06 '24 01:06 6933

I need this method too

birdol avatar Jun 04 '25 09:06 birdol

You can use SaveAsByTemplate

shps951023 avatar Jun 04 '25 10:06 shps951023

I need translate my datacolumn Name . and keep english colName stay. unless... I make a dynamic template file.

my solution for this condition : export to csv。 then insert translateed row in second line。then merge csv to xlsx。 but,there is a question,i need read csv file into DataTable,it takes too much memory。

birdol avatar Jun 04 '25 14:06 birdol

@birdol could you provide a sample of your code and an example of the output you want to achieve?

michelebastione avatar Jun 05 '25 15:06 michelebastione