473,383 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How to find the active window using excel vba code?

For example, Iam opened an Access file, internet explorer, and an excel file, What I required is which one of the file is currently active and we need to record how much time the window was active

PLS HELP ME
Jun 15 '10 #1
0 1734

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: BadOmen | last post by:
I am using the GetActiveWindow() API but it returns 0 I have a remote that I activate this code with: Code: WinAmpHandler = GetActiveWindow WinAMPhWnd = FindWindow("Winamp v1.x",...
1
by: David C. Barber | last post by:
I'm having a problem knowing what is the current active window using VB6. Yes I can use the ActiveWindow property to determine what is my VB active window, HOWEVER, if the active window is some...
0
by: offers | last post by:
I have tried searching for the past 3 hours (I'm probably just using the wrong search phrase) with no success. I wrote a program to run in the background. It generates data on a timer and I need...
0
by: Bobby Smith | last post by:
I wrote an application a little while ago that sent text to the active window by programmatically copying the text to the clipboard and then sending the WM_PASTE message or something along those...
4
by: trinity | last post by:
I am wondering if it is possible to accept and close the active window using its handle. I already have the handle using getActiveWindow(). I need to be able to click on the "yes" button to...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
3
by: Dean Slindee | last post by:
I would like to capture a picture of the active window on the screen to use in an error routine. Like the following, which captures the entire desktop: Dim objRectangle As Rectangle =...
2
by: kimiraikkonen | last post by:
Hi, I need to show an active window's (form) size(width and height in pixels) in message box, however there are some low-level api calls in user32.dll but i don't know which function returns the...
6
by: NitinSawant | last post by:
Hi, pls tell me how to get info about current active window using C#??
0
by: shahgunjan | last post by:
Hi, I am reading the value of a cell and struggling to delete that entire row and shift other rows up. I googled a lot but did not find any solution. The code that I am using is : // create...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.