Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vb code to bring app into focus

Posted on 2010-08-23
3
Medium Priority
?
369 Views
Last Modified: 2012-05-10
In windows xp i would use the sendkeys function to change focus from one app to another but it doensn't work in win7......  any suggestions??
0
Comment
Question by:crcevans
  • 2
3 Comments
 

Accepted Solution

by:
crcevans earned 0 total points
ID: 33504301
I found it............  AppActivate
0
 
LVL 13

Expert Comment

by:MWGainesJR
ID: 33504313
try:
AppActivate "Appplication Title"
0
 
LVL 13

Expert Comment

by:MWGainesJR
ID: 33504319
dang it....you just beat me.....lol
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

783 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