Solved

One-Time Only "Ask" Field

Posted on 2007-11-14
4
435 Views
Last Modified: 2008-02-01
I have a template with an ask field such that when a user creates a document based on the template and ask field pops up with a question.  The question is pre-filled with the most common answer to the question. There are two things I'd like to improve, but am not sure how to.

First, once the document is saved, each time it is reopened, the ask field pops up again.  I'd like it so that the only time they get the question asked is upon creating a brand new document based on the template.  

Secondly, the ask field really has two valid answers.  One of the answers, which is the one I have defaulted, is much more common than the other.  Yet, it would be nice to instead have some kind of picker with the 2 options, rather than making the person type the second one by hand if the default isn't correct.  

Help with either or both would be much appreciated.

Phil
0
Comment
Question by:witzph1
  • 2
4 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 20290942
I thought I see how to do that if you do not have a default choice, by nesting  the Ask field in an IF field that tests the bookmark for blank. However that acts weirdly. It does ask the question once only, but it moves the bookmark into the fields and forgets about the text that the user has just typed in.

The only getround that I can think of it to use a VBA macro firing off the Document_New event
0
 
LVL 21

Expert Comment

by:EricFletcher
ID: 20292203
I concur with Graham about having Word run a macro when the template creates a new document. You would probably have more latitude in dealing with the question if you used VBA code than having everything in an ASK field. I'm always leery of using content that a user can type over -- intentionally or otherwise.
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 20292683
This question shows how to do that sort of thing in VBA code:

http://www.experts-exchange.com/Programming/Misc/Q_22594246.html
0
 

Author Comment

by:witzph1
ID: 20424088
Thanks again, GrahamSkan.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now