Dear forum,
Anyone knows how to adjust the column width in a datasheet form permanently?
Dear forum,
Anyone knows how to adjust the column width in a datasheet form permanently?
Usu. you adjust width, and it stays.
*&^%$#&^%^.....so I noticed!! Tnx
(must be the monday thing)
Alternatively, you could program the columns to 'size-to-fit.'
For specific Controls:
Code:Private Sub Form_Load() Me.Textbox1.ColumnWidth = -2 Me.Textbox2.ColumnWidth = -2 End Sub
For all Controls containing data
Code:Private Sub Form_Load() Dim ctrl As Control For Each ctrl In Me.Controls If Not (TypeOf ctrl Is Label) Then ctrl.ColumnWidth = -2 End If Next End Sub
Linq ;0)>