really tough question
ok got this word document that people are going to be able to enter stuff into form fields and on and on. well heres the thing I'm trying to create a macro that when people type into a certain field and on exit of that field the information that they type in that field becomes the default save name of the file when you go to save the document. this is what I've got so far
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
I don't know anything about VB and I'm very confused on macros. any help someone can give me would be totally appreciated. thanks
|