+ Reply to Thread
Results 1 to 1 of 1

Getting Cell Address of Locked Cell on Protected Sheet

  1. #1
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Getting Cell Address of Locked Cell on Protected Sheet

    Problem:
    Double Click' gets address of the most recent active cell when a Sheet is protected and 'Select Locked Cells' is NOT checked, and NOT the address of the LOCKED CELL if a LOCKED CELL is 'Double Clicked'.

    Solution:
    The following code (included in the attached sample file) seems to solve the problem using Api function GetCursorPos().

    Sheet module code:
    Please Login or Register  to view this content.
    Ordinary module code:
    Please Login or Register  to view this content.
    Lewis
    Last edited by LJMetzger; 05-25-2015 at 12:26 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is it possible to detect when a user clicks on a locked cell in a protected sheet?
    By HollowMan19xx in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-28-2015, 04:41 PM
  2. Replies: 1
    Last Post: 03-10-2013, 01:54 PM
  3. Formatting cell within a Protected and Locked Sheet
    By drgogo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2009, 12:53 PM
  4. Replies: 0
    Last Post: 06-20-2006, 02:50 PM
  5. [SOLVED] Why am I able to type in a cell that is locked and protected?
    By VikyTurner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-18-2005, 04:55 PM

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