Hey all,

I'm having a tricky time trying to figure out how to remove this error. The script stops on the following line:

Code:
Set sMaster = Sheets("MasterSheet")
The worksheet MasterSheet exists, however it is set to xlVeryHidden.

Any ideas what the problem could be? I've pasted the remaining code below:

Thanks in advance!

Code:
Private Sub UserForm_Initialize()
'On Error Resume Next

Dim sMaster As Worksheet
Dim i, iCol, iRow, intRowSource As Integer
Dim strRowSource As String
Dim pendingRecords As String
Dim cCont As Control

Private Sub UserForm_Initialize()
'On Error Resume Next

Dim sMaster As Worksheet
Dim
...