+ Reply to Thread
Results 1 to 9 of 9

How to get a tick in a cell by a double click

  1. #1
    Registered User
    Join Date
    10-27-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    18

    How to get a tick in a cell by a double click

    Hi there,

    I want to enter a tick by double clicking in a cell.

    And another double click should remove that tick.

    I have a range say suppose from B1:D1

    B1 may represent as "applicable" C1 may represent as "Not Applicable" D1 may represent as "Not sure"

    Help will be highly appreciated.

    Thanks

  2. #2
    Registered User
    Join Date
    10-27-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    18

    Re: How to get a tick in a cell by a double click

    I am trying this code but I am getting debug (in red) when I try to clear the cell

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: How to get a tick in a cell by a double click

    May be
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  4. #4
    Registered User
    Join Date
    10-27-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    18

    Re: How to get a tick in a cell by a double click

    Sorry, I forgot to add the cell is merged...

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: How to get a tick in a cell by a double click

    It is better to attach a sample of your file
    Try avoiding merging cells. It is the enemy of codes

  6. #6
    Registered User
    Join Date
    10-27-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    18

    Re: How to get a tick in a cell by a double click

    Please see attached
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hi ! Try this ‼


    According to your attachment, to paste to the worksheet module (replacing same event procedure yet existing) :

    PHP Code: 
    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As RangeCancel As Boolean)
        
    With Target(1)
            If .
    Row 12 And .Column And .Column 5 Then
               
    .Value = Array(""ChrW(10003))(-(.Value ""))
                
    Cancel True
            End 
    If
        
    End With
    End Sub 
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !
    Last edited by Marc L; 07-16-2018 at 06:55 AM.

  8. #8
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: How to get a tick in a cell by a double click

    Or just a small tweak to the original:

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    10-27-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    18

    Re: How to get a tick in a cell by a double click

    Thanks Legends!!!!

+ 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. Double click cell - copy data to new sheet - create a list from double clicking
    By kakky in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-04-2015, 11:14 PM
  2. [SOLVED] Before double click event with if statements (Double clicking blank cell stops bdc firing)
    By camdenpars in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-27-2014, 09:03 AM
  3. Changing cell properties with double click, then revert with another double click
    By mweber2525 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-01-2014, 01:40 PM
  4. [SOLVED] tick all check box in just one click and then count up the selected tick box...
    By pejoi in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-05-2013, 09:13 PM
  5. Copy double-clicked cell to next empty row in different sheet with each double-click
    By erhathaway in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-25-2013, 12:06 AM
  6. Double Click to add/remove Tick
    By smuzoen in forum Excel Tips
    Replies: 25
    Last Post: 07-27-2012, 01:50 PM
  7. Replies: 4
    Last Post: 08-02-2005, 09:05 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