Solved

VB Macro dialog box has focus

Posted on 2013-11-11
2
322 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

776 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