Is there a way to place code on a form so a message box appears on open an
promts as yes/no so user can accept or deny?
Yes, but you should have given a bit more information so my reply
would be specific to your question.
Can accept or deny what?
Then do what?
Where you place the code is determined by what.
Code the form's Open or Load event:
If MsgBox("Do you accept?",vbExclamation + vbYesNo) = vbYes then
' Do the Yes thing here
Else
' Do the No thing here
End If