Split form vs change ColumnWidth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top