Solved

One-Time Only "Ask" Field

Posted on 2007-11-14
4
434 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

747 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

14 Experts available now in Live!

Get 1:1 Help Now