Recent

Author Topic: HELP Why the WriteRowHeight method is invalid??  (Read 231 times)

dodgex

  • New Member
  • *
  • Posts: 16
HELP Why the WriteRowHeight method is invalid??
« on: January 12, 2026, 09:58:16 am »
sWorksheet.WriteRowHeight( 4 , 65,suPoints,rhtCustom);

Why does the WriteRowHeight method become ineffective after I execute InsertCol,
but works correctly when InsertCol is not executed?

dodgex

  • New Member
  • *
  • Posts: 16
Re: HELP Why the WriteRowHeight method is invalid??
« Reply #1 on: January 12, 2026, 10:13:44 am »
sWorkbook.WriteToFile(decPath, sfOOXML,True);

My file is xls. It is normal to add the sfOOXML parameter to WriteToFile. The row height set is also correct;
I don't understand why this setting is necessary?

wp

  • Hero Member
  • *****
  • Posts: 13352
Re: HELP Why the WriteRowHeight method is invalid??
« Reply #2 on: January 12, 2026, 06:22:24 pm »
I have no idea what you are doing. Please post a small demo project showing the issue.

 

TinyPortal © 2005-2018