It could be that you had your form open already (as suggested), but just check for null and the form will handle opening with missing arguments as well.
This will allow opening the form for a quick peek (by you or the users) if the arguments aren't vital.
Private Sub Form_Open(Cancel As Integer)
If Not IsNull(Me.OpenArgs) Then
Me.lblHeading.Caption = Me.OpenArgs
End If
End Sub
A null value can be passed to OpenArgs by omitting the value in the OpenForm call, or by double-clicking the form in the Access Objects sidebar.
If it's a modal form, you should explicitly check if it's open and close it before opening it if so. This is a common gotcha.
The same could of course be done for all forms, not just modal ones, and then you wouldn't need the null check (provided you never pass null to it). But often there are a lot of forms in a project, and even more OpenForm calls than forms...