I've got a text field with the name (i.e., bookmark) of "Duration", which will have the result of the difference between two dates entered somewhere else in my form. When the dates are improperly set up (i.e., the end is before the beginning), I want to empy the duration field. I use:
[tt]Application.Documents(1).FormFields("Duration").Result = ""[/tt]
Question: Why does the screen scroll down until this field is visible? I just want to set it, not jump to it. Is there some way of stopping this behavior?
Supplemental question: is the the most economical way of referring to a field? (I'm not really up to speed on VB's object model).
Thanks for any help!
[tt]Application.Documents(1).FormFields("Duration").Result = ""[/tt]
Question: Why does the screen scroll down until this field is visible? I just want to set it, not jump to it. Is there some way of stopping this behavior?
Supplemental question: is the the most economical way of referring to a field? (I'm not really up to speed on VB's object model).
Thanks for any help!