Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Skadborg.NTI
1286 Views, 9 Replies

Can't change column width in Custom Table

If I place a Custom Table (General Table) on an idw, I can easily change column width in the GUI.

According to API-help Column.Width is read/write.

But if I try to set the width in iLogic I get an "unspecified error."

 

Dim oSheet = ActiveSheet.Sheet
Dim oCustomTable = oSheet.CustomTables.Item(1)
oCustomTable.Columns.Item(1).Width=3.0

What is wrong in above code?