+ Reply to Thread
Results 1 to 5 of 5

Two Check Marks on One Sheet

  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    31

    Two Check Marks on One Sheet

    So I am attempting to build a sheet to track numbers being entered. I've got it so I can double click a cell and it time stamps the date and time. This is where I need help. I have two areas I would like this to happen on the same sheet. Both cells labeled " Transferred " need to be able to be clicked. I also want the date fields to be locked so not to be tampered with after entered, however when I lock the cells I get a debug error as soon as I double click. I've included a picture of what I'm referring to as well as the worksheet.

    The code I'm using is:
    PHP Code: 
    Option Explicit
    Dim lrow 
    As Long

    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As RangeCancel As Boolean)
        
    lrow Cells(Rows.Count1).End(xlUp).Row

        
    If Target.Cells.Count 1 Then Exit Sub

            
    If Not Intersect(TargetRange("B3:B" lrow)) Is Nothing Then

                Target
    .Font.Name "Marlett"

                    
    If Target vbNullString Then

                        Target 
    "b"

                    
    Else

                        
    Target vbNullString

                    End 
    If

            
    End If
    End Sub
    Private Sub Worksheet_Change(ByVal Target As Range)
        
    lrow Cells(Rows.Count1).End(xlUp).Row
         
        
    If Not Intersect(TargetRange("B3:B" lrow)) Is Nothing Then
            
    If Target.Value "b" Then
                Target
    .Offset(01).Value Format(Now"mm/dd/yy,hh:mm")
            
    End If
        
    End If 
    Any suggestions would be very much appreciated!

    Test Worksheet.xlsm
    Two Check Boxes.PNG

  2. #2
    Registered User
    Join Date
    01-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Two Check Marks on One Sheet

    If anyone needs more information I'd be more than glad to add!

    I tried finagling with it to get it to work with no avail.

  3. #3
    Registered User
    Join Date
    01-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Two Check Marks on One Sheet

    Shameful self bump...

  4. #4
    Registered User
    Join Date
    01-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Two Check Marks on One Sheet

    Am I able to expand the range to accomplish this?

  5. #5
    Registered User
    Join Date
    01-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Two Check Marks on One Sheet

    Can anyone take a stab in the dark at this?

+ 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. [SOLVED] VBA square option buttons with check marks
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-11-2014, 01:28 PM
  2. right clicking to make check marks
    By Conor in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-18-2008, 04:12 PM
  3. check marks
    By Mary in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-12-2006, 05:10 PM
  4. [SOLVED] check marks in excel cells using your mouse
    By loco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2006, 05:35 PM
  5. [SOLVED] CheckBox check marks save
    By p. panter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2006, 02:22 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