Hello,
I am trying to create this form that will show on the screen while my macro is running to keep the user informed of whats going on. I don't want anything facy just a simple form with a picture and text. Maybe three dots at the end of the label that appear and disappear, but this is completely optional.
My main issue here is that i cannot get it to work. The form loads but it never disappears from screen. My word application freezes.
Here is my code
[vba]
Sub FormTryout()
Load WaitingForm
WaitingForm.Show
'MAKE BOLD THE VALID TIME
Dim rngLook As Range
Set rngLook = ActiveDocument.Content
rngLook.Find.ClearFormatting
rngLook.Find.Replacement.ClearFormatting
rngLook.Find.Replacement.Font.Bold = True
With rngLook.Find
.Text = "Make this text Bold"
End With
rngLook.Find.Execute Replace:=wdReplaceAll
WaitingForm.Hide
End Sub
[/vba]
Any ideas?