Hi,
Thank you in advance for your assistance.
Within a form I have a command button with the following code which
should apply consistent formatting to each control within the form.
It however dos not quite work, what am I missing here?
Code:Private Sub Command29_Click() Dim i As Integer Dim c As Control For i = 0 To Me.Controls.Count - 1 Set c = Me.Controls(i) c.GridlineStyleRight = Solid Next End Sub