Have you tried changing the ambiguous
to the explicit![]()
Set ws = Worksheets("Settings")
?![]()
Set ws = ThisWorkbook.Worksheets("Settings")
Also try changing your
to![]()
Private Sub Workbook_Open() Unload UserForm2 UserForm2.Show End Sub
![]()
Private Sub Workbook_Open() Load UserForm2 UserForm2.Show End Sub
Let me know if it works. Stabbing in the dark without a sample file unfortunately.
Bookmarks