Split form vs change ColumnWidth

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to change the column width on a split form (acc 2007) and I can't.
I don't know what's wrong.

Consider the following envent on Form_Load()

Private Sub Form_Load()

If frmRpt!DocXLS = 1 Then
Me.RowHeight = 1600
Me!Text1.ColumnWidth = 3000
Me!Text2.ColumnWidth = -2
Else
Me.RowHeight = 270
End If

End Sub

The RowHeight accepts the values above; columnWidth down't do nothing.
What's wrong?

Any help?
Thanks,
jcp

Me!Text1.ColumnWidth = 3000
Me!Text2.ColumnWidth = -2
 
Back
Top