Group: microsoft.public.word.vba.general
From: Tony Strazzeri
Date: Saturday, March 29, 2008 9:53 PM
Subject: Re: How to do copy-and-paste easily between a userform and a blank Word document?

On Mar 30, 1:23=A0pm, cyberdude wrote:
> Hi,
>
> I have created a userform which takes input of information.
> When I move the mouse out of the userform and click on another Word
> document to copy some information, it forbids me to do so. =A0I can't
> copy any information on that Word document which I want to paste to
> the userform. =A0May I ask how I can switch to another Word document
> from a userform, copy information from there and paste it to the
> userfom conveniently? =A0Thank you.
>
> Mike

By default the userformm.Show method displays the form in Modal mode.

Display the form as modeless
eg using YourUsefromeName.Show False


This will allow you to change focus from and back to the form.

Hope this Helps.

Cheers!
TonyS

Definition:
MODAL forms are forms which require user input before any other
actions can be taken place. In other words, a modal form has exclusive
focus in that application until it is dismissed. When showing a modal
form, the controls outside this modal form will not take user
interaction until the form is closed. The internal MsgBox and InputBox
forms are examples of modal forms.