#1
|
|||
|
|||
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question on watermarks | kknutson | Word | 0 | 04-26-2007 04:12 PM |
Hiya, New guy here with a question. | twincamfxd | Outlook | 0 | 09-10-2006 08:50 PM |
Need help with this question... | lllDNYlll | Outlook | 0 | 05-04-2006 07:17 AM |
Categories question & replying with attachment question | glitzymama | Outlook | 0 | 03-15-2006 09:32 AM |
Dumb question | ExcelNewbie | Excel | 1 | 03-09-2006 04:45 PM |