Re: Option buttons to show text by Russ
Russ
Fri Jul 14 14:30:07 CDT 2006
Vandaley,
Message below.
>
> Dave Lett wrote:
>> Hi,
>>
>> You can have the text/images in the document, but formatted as hidden text
>> and bookmarked. When a user clicks the appropriate option button, you can
>> run a routine that turns the hidden text into viewable text for the
>> boorkmark.
>>
>> HTH,
>> Dave
>>
>> "vandaley" <yossisp@nice.com> wrote in message
>> news:1152641851.715006.41270@35g2000cwc.googlegroups.com...
>>> HI,
>>>
>>> I am trying to create a user form in word VBA that when pressing an
>>> option button a certain text will appear in the document.
>>> When pressing a different option button a different piece of text will
>>> show.
>>> this way the user will follow the qizard and will create a document.
>>> Of course the text is a long string with screen shots and not just
>>> text.
>>>
>>> Any suggestions?
>>>
>>> Thanks,
>>>
>
> Dave,
>
> Thanks, and what is the syntax for doing that?
*Most* of the time you can get the syntax needed by recording a macro while
manually going through the steps that you want to happen, like inserting
text files or inserting pictures into a document, or hiding/unhiding
selected or bookmarked text. Then check the code it shows in the recorded
macro and tweak it if necessary; then cut and paste to make it part of the
action done when your userform buttons are pressed. That should be a
preliminary step to work things out for yourself and then ask specific
questions in the forums if your initial code isn't satisfactory and by
showing the code you've tried. Sometimes a recorded macro doesn't show all
the necessary code and you can't find it in VBA help. Then tell the forum
that you at least tried those steps yourself.
You're Welcome,
>
> Thanks,
>
--
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID