Solved

Word 2007 VBA Code to access another applications open window

Posted on 2013-01-20
1
170 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
1 Comment
 
LVL 45

Accepted Solution

by:
aikimark earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
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.

708 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

13 Experts available now in Live!

Get 1:1 Help Now