+ Reply to Thread
Results 1 to 4 of 4

how to make checkbox true selecting then chaning 2nd box true when null

  1. #1
    Registered User
    Join Date
    07-30-2012
    Location
    Shippensburg, PA
    MS-Off Ver
    office 2007, Frontpage and Visio 2003
    Posts
    22

    Question how to make checkbox true selecting then chaning 2nd box true when null

    I have made this downtime tracking board with some vb scripts I have taken from the web and by trial and error, have got most of it to work.
    What I am looking to do now is Col N and O, and P and Q. I currently have a Active X check box that inserts =NOW() when checked and clears the data when unchecked. What I was trying to figure out was Col J "Temp Location" if anything is selected but "blank" then checkboxes are blank, else any other selection from the list puts a check in the "time out" check box and the time fills in. When the selection from the "Temp Location" is changed back to "blank it places a check in the "Time In" checkbox.

    I was trying how to figure out

    if J4:J59 does not equal ""
    then checkboxOUT.value = true
    else checkboxOUT.value = false
    then if J4:J59 changes back to ""
    then checkboxIN.vaue = true
    else checkboxIN.value = false

    this is the code I have used sofar, becaue I can't figure how else to do it. I am trying to automate as much as possible.

    Please Login or Register  to view this content.
    Please play with the file and look at the vb code and have fun with it

    Thanks in advance
    Last edited by ferrum_equitis; 07-30-2012 at 01:12 PM.

  2. #2
    Registered User
    Join Date
    07-30-2012
    Location
    Shippensburg, PA
    MS-Off Ver
    office 2007, Frontpage and Visio 2003
    Posts
    22

    Re: Help, newbie with a lot of questions in vb scripting in excel 2007

    I forgot to add this other half of the code

    Please Login or Register  to view this content.
    Thanks

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Help, newbie with a lot of questions in vb scripting in excel 2007

    Hello ferrum_equitis, and welcome to the forum.

    Thanks for amending your thread title.
    Last edited by Cutter; 07-30-2012 at 01:53 PM. Reason: Removed title change request

  4. #4
    Registered User
    Join Date
    07-30-2012
    Location
    Shippensburg, PA
    MS-Off Ver
    office 2007, Frontpage and Visio 2003
    Posts
    22

    Re: how to make checkbox true selecting then chaning 2nd box true when null

    Hopefully that is better Cutter

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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