I am guessing your code is in the TextBox's Change event, correct? If so, did you set Application.EnableEvents = False at the start of procedure and then set it to True at the end of the procedure?
Hi Rick
on the sheet (Case Deatails) I have the imputing textboxes I have the following code:
Private Sub CommandButton1_Click()
End Sub
Private Sub TextBox1_Change()
Application.EnableEvents = False
Sheets("CI Report").TextBox1.Value = TextBox1.Value
Application.EnableEvents = True
End Sub
Private Sub TextBox2_Change()
Application.EnableEvents = False
Sheets("CI Report").TextBox2.Value = TextBox2.Value
Application.EnableEvents = True
End Sub
Private Sub TextBox4_Change()
End Sub
Private Sub TextBox3_Change()
Application.EnableEvents = False
Sheets("CI Report").TextBox3.Value = TextBox3.Value
Application.EnableEvents = True
End Sub
On the sheet (CI Report) that I am getting the text into the Texboxes I have the following code,
Option Explicit
Private Sub TextBox1_Change()
Sheets("CI Report").Unprotect "Mcfgomes007"
With TextBox1
.AutoSize = True
.MultiLine = True
.WordWrap = True
.TopLeftCell.RowHeight = TextBox1.Height
.Width = 400 'Set as required
Sheets("CI Report").Protect "Mcfgomes007"
End With
End Sub
Private Sub TextBox2_Change()
Sheets("CI Report").Unprotect "Mcfgomes007"
With TextBox2
.AutoSize = True
.MultiLine = True
.WordWrap = True
.TopLeftCell.RowHeight = TextBox2.Height
.Width = 400 'Set as required
Sheets("CI Report").Protect "Mcfgomes007"
End With
End Sub
So where should be the Application.EnableEvents = False ?