macropod
Wed Jul 02 17:41:15 PDT 2008
Hi Calsax,
BTW, although you've posted in a vba newsgroup, the solution I directed you to is not vba - it uses Word fields instead. As a
result, it doesn't raise any of the security issues you might get with vba.
Cheers
"calsax" <calsax@discussions.microsoft.com> wrote in message news:1AC5D15A-BBBA-4603-B470-7F925CCEB320@microsoft.com...
> Thank you!!!!!
>
> I guess I am going to have to start studying Word more...
>
> "Compass Rose" wrote:
>
>> Calsax
>>
>> If you go to Tools -> Options... -> Print tab, check the 'Update fields'
>> box, and your
>> ASK fields will prompt the user for input before each time the document is
>> printed. If the user has previously put data into ASK box, the data will
>> appear in the box and all they have to do is click OK or change the data if
>> they wish.
>>
>> David
>>
>> "calsax" wrote:
>>
>> > The code in your "Tips & Techniques" works great! I used the "Days
>> > Difference" code with an Ask for the start date. Now for one more question:
>> >
>> > How can I have the document automagically update the displayed values in the
>> > fields at print time (or when the doc is opened) to reflect to current values?
>> >
>> > Thanks again for all your help!!!!
>> >
>> > calsax
>> >
>> > "macropod" wrote:
>> >
>> > > Hi calsax,
>> > >
>> > > To see how to do this and just about everything else you might want to do with dates in Word, check out my Date Calc
>> > > 'tutorial', at:
>> > >
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=249902
>> > > or
>> > >
http://www.gmayor.com/downloads.htm#Third_party
>> > > In particular, look at the item titled 'Calculate the # Days Difference Between Two Dates'. With that example, you could
>> > > substitute
>> > > a formfield or a userform to set the 'StartDate' bookmark's value. Alternatively, you could embed and ASK field in the
>> > > calculation
>> > > field, as per some of the other examples in that document.
>> > >
>> > > Cheers
>> > >
>> > >
>> > > "calsax" <calsax@discussions.microsoft.com> wrote in message news:7457552F-DD40-4AB3-BAEE-DDAE920A7378@microsoft.com...
>> > > >I need to be able to display the number of days since an event. I would like
>> > > > to have the document creator input a date, then have a display that shows the
>> > > > number of days since that date at print. Any suggestions?
>> > > >
>> > > > Thanks!
>> > >
>> > >