I am trying to udate a user form just before I update a Word document. I try to change the text and colour of a text box but nothing changes unless I step through the program. Any ideas?
Public Sub FillForm(btnOKClicked As Boolean)
'change status text box
frmQuoteClosing.txtStatus.BackColor = vbGreen
frmQuoteClosing.txtStatus.Text = "Please wait while the document is being filled out"
Application.ScreenRefresh
Call FillForm1(btnOKClicked) 'this routine updates the word document
End Sub
Public Sub FillForm(btnOKClicked As Boolean)
'change status text box
frmQuoteClosing.txtStatus.BackColor = vbGreen
frmQuoteClosing.txtStatus.Text = "Please wait while the document is being filled out"
Application.ScreenRefresh
Call FillForm1(btnOKClicked) 'this routine updates the word document
End Sub