troubleshooting Question

Excel VBA CommandBar buttons are not responsive when cell is in Edit Mode

Avatar of pkoivula
pkoivulaFlag for United States of America asked on
Microsoft ExcelVisual Basic ClassicMicrosoft Office
12 Comments2 Solutions2963 ViewsLast Modified:
In Excel, we are using VBA to create a CommandBar with several buttons.

Things are working fine, except in one case:
While the user is editing a cell, and he clicks on a CommandBar button, the click event is not triggered in VBA. In essence, the button does nothing and gives no feedback when the cell is in Edit Mode.

How does one get around this issue? The user might be confused as to why nothing is happening after entering a cell value and immediately clicking on a CommandBar button.

Join our community to see this answer!
Unlock 2 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros