Solved

VB Macro dialog box has focus

Posted on 2013-11-11
2
317 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
Comment Utility
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
Comment Utility
nice one
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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 …

744 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

14 Experts available now in Live!

Get 1:1 Help Now