Everytime I want to run my userform i get the following error: Compile error, Can't find project or library.
In a code line it highlights the word DATE and gives me the error shown in the picture.
Private Sub UserForm_Initialize()
TextDate.Value = Format (*DATE*, "mm/dd/yyyy")
Note: The asterisks before and after DATE are not present in the real code. I wrote them to show you what letter was highlighted.
error.PNG
Bookmarks