Solved

How to capture key press event in Excel formula bar using VBA?

Posted on 2014-10-22
2
321 Views
Last Modified: 2014-11-03
Hi All,

I need to capture an event when ever user types in excel formula bar.

Is there any way to work around for the above requirement.
0
Comment
Question by:pkoivula
2 Comments
 
LVL 11

Accepted Solution

by:
jkpieterse earned 500 total points
ID: 40398631
Using just VBA, it is impossible to run a macro when Excel is in edit mode. This includes events.

Whilst you can use an API timer callback to fire VBA code in Excel regardless of Excel's state, It is not safe to try running VBA code while a user is editing a formula. You risk crashing Excel if you try to do that.
0
 

Author Comment

by:pkoivula
ID: 40420038
OK, thanks.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 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