bryan
Fri Jun 20 05:13:00 PDT 2008
I guess I have not worked with Auto text before but, it seems to be basically
setting the text in a formfield.
Such as:
if x then
ActiveDocument.formfield("text1").result = "Text for selection of x"
elseif y then
ActiveDocument.formfield("text1").result = "Text for selection of y"
end if
Am I correct in this assumption? I can do this but, I guess what I was
looking for was a way to insert text without using a formfield as a means.
After Dear Sir,
I want to have 2 carriage returns and then insert text.
Basically I want to build a form on the fly based upon selection from the
userform.
Is this possible and if so, How?
What I want to d
"fumei via OfficeKB.com" wrote:
> I am not following totally, but why not have the verbiage as an AutoText?
>
> If X is selected (on the userform) Then
> insert Autotext "yadda"
>
> If Y is selected (on the userform) Then
> insert AutoText "blah"
>
>
> bryan wrote:
> >I will leave as seperate.
> >2 forms are basically identical except for 1 paragraph.
> >How can I insert the verbage for this paragraph based upon the selection
> >from the userform.
> >I would need to insert a carriage return twice and then insert text.
> >How can I do this?
> >
> >Thanks,
> >Bryan
> >
> >
> >> I think that what I would do would be to have a template for each form and
> >> based on the selections made in the userform, I would have code create a
> >[quoted text clipped - 44 lines]
> >> >> > Thanks,
> >> >> > Bryan
>
> --
> Message posted via OfficeKB.com
>
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200806/1
>
>