Good Afternoon,
I am having an issue with some code that a friend has given me and i am stuck with the error i get when i run it.
I get the following error
Compile Error : Syntax Error on the following line
Many Thanks
Gavin
I am having an issue with some code that a friend has given me and i am stuck with the error i get when i run it.
I get the following error
Compile Error : Syntax Error on the following line
Rich (BB code):
Dim MyWB As Workbook
Dim MySht As Worksheet
Dim MyManager As String
Dim MyAdvocate As String
Dim MyYourName As String
Dim MyProcessNumber As String 'Depending if the number has characters or is purely numeric
Dim MyProcessReason As String
Set MyWB = ActiveWorkbook
If Cells(4, 4) = “” Then
Msgbox “Please Enter The Manager Name”,vbokonly,“Missing Manager”
Else
MyManager = Cells(4, 4)
End If
If Cells(4, 6) = “” Then
Msgbox “Please Enter The Advocate Name”, vbokonly, “Missing Advocate”
Else
MyAdvocate = Cells(4, 6)
End If
If Cells(4, 8) = “” Then
Msgbox “Please Enter Your Name”, vbokonly, “Missing Your Name”
Else
MyYourName = Cells(4, 8)
Gavin