Hi All,
Looking for some help with a very odd problem that I just cannot get to the bottom of. We have userform that individuals use to keep track of their workload and it works flawlessly for the vast majority of the users but some get a Object Variable or With Block error. This occurs when they try to initialize the form with:
Private Sub userForm_Initialize()
EntryForm.Controls("DateBox1").Value = Format(Date, "dd/mm/yyyy")
End Sub
Or if we comment this out later on at the validation stage:
Set timeBox = EntryForm.Controls("TimeBox" & x)
Set compBox = EntryForm.Controls("CompletedBox" & x)
If timeBox.Text <> "" And Not IsNumeric(timeBox.Text) Then
It is worth stating that if we let them get to the validation stage the form is showing on screen and they can fill it in with no issues, only when they submit the data for validation does it fail.
It appears that these select users cannot access / reference the userform or the objects contained within it. Does this make sense to anyone? Is there a setting they will have somewhere that is causing it to fail for them?
Thank you in advance for your time and help with this.