mortgageman
Well-known Member
- Joined
- Jun 30, 2005
- Messages
- 2,015
Hello all:
I have ten checkboxes. Some of them execute immediately. Some of them take good 10-20 seconds to see the change on the screen. this is one that takes a LONG time. Is there something that I am doing that could explain it?
Thanks,
Gene Klein
I have ten checkboxes. Some of them execute immediately. Some of them take good 10-20 seconds to see the change on the screen. this is one that takes a LONG time. Is there something that I am doing that could explain it?
Thanks,
Code:
Private Sub Checkbox4_change()
Dim i As Long
Dim c4string As String
If CheckBox4.Value Then
For i = 1 To 20
Me.Controls("checkbox" & i).Value = False
Next
CheckBox4.Value = True
TextBox7.Visible = True
TextBox6.Visible = True
TextBox5.Visible = True
TextBox4.Visible = True
TextBox1.Top = 42
TextBox1.Height = 20
TextBox4.Top = 70
TextBox4.Height = 80
TextBox5.Top = 160
TextBox5.Height = 20
'TextBox6.Top = 348
'TextBox6.Height = height2add
'TextBox7.Top = 456
'TextBox7.Height = height2add
'TextBox1.ZOrder
With Me.TextBox1
.Value = Range("Exodus4a").Value
.Font.Bold = Range("exodus4a").Font.Bold
.Font.Size = 20
.ForeColor = RGB(255, 0, 0) ' RED
End With
With Me.TextBox4
c4string = Range("Exodus4B").Value & Range("exodus4c").Value & Range("exodus4d").Value
c4string = c4string & Range("exodus4e").Value
.Value = c4string
.Font.Bold = Range("exodus4a").Font.Bold
.Font.Size = 20
.ForeColor = RGB(0, 0, 0)
End With
End If
End Sub
Gene Klein