If Application.Workbooks = ("Q:\elogs\newformat\" & Me.ComboBox1.Value & "\" & "elog_" & Me.ComboBox1.Value & "_" & Me.ComboBox2.Value & "." & Me.ComboBox3.Value & "." & Me.TextBox1.Value & ".xls") Then
MsgBox "You already have a document of the same name open"
End If
Exit Sub