|
-
Feb 6th, 2006, 11:46 AM
#1
Thread Starter
New Member
help with saveformat
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
-
Feb 6th, 2006, 11:48 AM
#2
Re: help with saveformat
Word VBA question moved to Office Development
-
Feb 6th, 2006, 11:50 AM
#3
Thread Starter
New Member
Re: help with saveformat
oops sorry bout that hack like I said I don't know whats going on with what when it comes to VB
-
Feb 6th, 2006, 02:55 PM
#4
Thread Starter
New Member
Re: help with saveformat
bah useless! all of you :P
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|