Q:

allow text to overflow cell excel C#

How can I allow text to overflow a cell in excel?
I found this for vba:
"Allow text to overflow shape" in excel 2010 vba
I would like to do the equivalent of xlOartHorizontalOverflowOverflow - allows overflow, but in C# and to overflow a cell (instead of a shape)
I have tried:
worksheet.Cells[1, 1].Style.OverflowText = true;

worksheet.Cells[1, 1].AllowEditOverflow = true;

worksheet.Cells[1, 1].TextFrame2.HorizontalOverflow = true;

worksheet.Cells[1, 1] = Excel.xlOartHorizontalOverflowOverflow;

worksheet.Cells[1, 1].TextFrame2.HorizontalOverflow = Excel.xlOartHorizontalOverflowOverflow;

but none work
Any help would be appretiated

A:

worksheet.Cells[1, 1].Style.WrapText = false;

