ok I'm new to visual I only am using it to create a macro for a word document. I have a form field on the page and I need to make it so whatever they type in that field the default save name of the file will be whatever they type into that field. (with me so far?)
this is what I've been playing with so far and I'm not sure if i'm doing this right or not would appreciate some help thanks

Function save()

If CONumber <> "" Then

Application.DefaultSaveFormat = "CONumber"

Else

Application.DefaultSaveFormat = ""

End If

End Function

CONumber is the name of the field that people enter things into
it pretty much is saying if I read it right that if CONumber is not blank then make the default save name whatever the value of CONumber is. am I doing this right or is something else supposed to be happening