Solved

VB Macro dialog box has focus

Posted on 2013-11-11
2
319 Views
Last Modified: 2013-11-12
Hello,

I have a template that runs a dialog box on run which allows the user to enter specific details into a form which is then populated into the document itself.
In Word 2003 we could have another Word doc open, copy and paste content from this document into the dialog box - now we have upgraded to Word 2010 it will no longer let us open another Word document while the dialog box still has focus.

Any ideas around this?
0
Comment
Question by:sbsbats
2 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 39641007
By default, Userforms are opened modally. If a form is thus opened, nothing else can happen in the application until it is dismissed.
To change that behaviour, open form with code like this:
myForm.Show vbModeless

Open in new window

0
 

Author Closing Comment

by:sbsbats
ID: 39642807
nice one
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now