Hi thanks for helping me but i dont seem to be able to get it working. This is the code as i understand it:
Dim userform As String
Dim stLinkCriteria1 As String
userform = "User Form"
DoCmd.Close acForm, "[username]",acSaveYes
DoCmd.openform userform, , , stLinkCriteria1
End Sub
Sorry if it something silly that i have done wrong, i have only been doing VB for a couple of weeks.
Thanks
Ben