?
Solved

Word 2007 VBA Code to access another applications open window

Posted on 2013-01-20
1
Medium Priority
?
180 Views
Last Modified: 2013-11-15
I have a Word 2007 macro that needs to control another applications open window by using the sendkeys command.  I am trying to find the code that will let me access the open window of the other application. The title of the open window is "Worldox - Save"
0
Comment
Question by:Fraserreid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 46

Accepted Solution

by:
aikimark earned 1500 total points
ID: 38801384
On Error Resume Next
AppActivate "Worldox - Save"
If Err = 0 Then
  SendKeys
Else
  Err.Clear
End If

Open in new window

0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.

650 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