+ Reply to Thread
Results 1 to 3 of 3

Marlett Checkboxes

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2010
    Posts
    43

    Marlett Checkboxes

    I need help modifying the following code:
    Please Login or Register  to view this content.
    So that the checkbox is added only if the data in column C is blank or "0" (contains formulas). Perhaps the Range selection/naming can be modified given that I have a table in $B$2:$F$100.

    Thanks

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,615

    Re: Marlett Checkboxes

    'check in column C and same row:
    If Target = vbNullString And Target.Offset(0, 2).Value = 0 Then
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    10-23-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Marlett Checkboxes

    Awesome, that is exactly what I needed. I had tried inserting many different And conditions in the If statement but was lacking the Offset in order for it to work!

+ 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