+ Reply to Thread
Results 1 to 2 of 2

Detect if cell is in 'editing' mode

  1. #1
    Registered User
    Join Date
    03-13-2007
    Posts
    1

    Detect if cell is in 'editing' mode

    Hi,
    I'm doing the vba programming for excel where I added a button to the excel, and when user click on the button, it will trigger my function.

    My question is: if currently there is a cell been focused, how can I know whether that is in the 'editing mode' (ie, focus on that cell and double click on that) or merely 'focus' on that cell? Any of the excel object property for this?

    Thanks in advance.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Mkgan,

    Excel won't allow you to click your button when a cell is being editing. This event is not exposed through VBA. It is an internal event within Excel.

    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1