Yes no messagebox...within the if and if

What is wrong with this code? I just want to get some yes and no answers…

Sub Click(Source As Button)

If Messagebox("Warning: Action will result in reactor SCRAM.   Are you sure you want to continue?", _

MB_ICONEXCLAIMATION+MB_YESNO & " - Reactor Control Module")=IDYES Then

’ SCRAM reactor

	Messagebox "first yes - do another messagebox"

	

	If Messagebox("Warning: Action will result in reactor 22222.   Are you sure you want to continue?", _

	MB_ICONEXCLAIMATION+MB_YESNO & " - Reactor Control Module")=IDYES Then

		

		Messagebox "second time yes"

	End If

	

Else

’ abort action

End If

End Sub

Subject: yes no messagebox…within the if and if

You’ve got 2 parameters for when it looks like you want 3. The & should be a comma (both times):

Messagebox(“Warning: Action will result in reactor SCRAM. Are you sure you want to continue?”, _

MB_ICONEXCLAIMATION+MB_YESNO, " - Reactor Control Module")=IDYES

It’s

MessageBox(Message, type+icon+default, “title”)