Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2006, 10:21 AM
ld0ne ld0ne is offline
Novice
really tough question
 
Join Date: Feb 2006
Posts: 1
ld0ne
Default 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
Reply With Quote
Reply



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
really tough question Dumb question ExcelNewbie Excel 1 03-09-2006 04:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft