+ Reply to Thread
Results 1 to 13 of 13

CheckBox Checked

  1. #1
    Forum Contributor 323100N's Avatar
    Join Date
    08-11-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    253

    CheckBox Checked

    Hi I would like seek some assistance with my code. I cannot get the result I want using the If then else statement using checkbox.

    Here is my code:

    Please Login or Register  to view this content.
    Last edited by 323100N; 03-14-2019 at 10:25 AM.

  2. #2
    Valued Forum Contributor nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    excel 2016 64bit
    Posts
    1,408

    Re: CheckBox Checked

    Are you getting a value from checkbox20
    Try
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    excel 2016 64bit
    Posts
    1,408

    Re: CheckBox Checked

    And you have no value for RowCounter after it is declared

  4. #4
    Forum Contributor 323100N's Avatar
    Join Date
    08-11-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    253

    Re: CheckBox Checked

    Actually I want the value to go to specific cell (rowncounter 7) if the user Click the Checkbox it will show Pass else Fail. I keep on getting "Pass" value

    Thanks!
    Last edited by 323100N; 03-14-2019 at 10:24 AM.

  5. #5
    Valued Forum Contributor nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    excel 2016 64bit
    Posts
    1,408

    Re: CheckBox Checked

    I dont get it - you have declared Rowcounter as Long (a numeric value) so your desired range is
    Please Login or Register  to view this content.
    but you havent set a value for rowcounter as far as I can see. Correct me if I am just not seeing it

  6. #6
    Forum Contributor 323100N's Avatar
    Join Date
    08-11-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    253

    Re: CheckBox Checked

    Opps sorry I already updated the code i forgot this portion RowCounter = 0

  7. #7
    Forum Contributor
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    235

    Re: CheckBox Checked

    Hi,
    This works for me
    Please Login or Register  to view this content.
    Click the * below to say thanks.

  8. #8
    Valued Forum Contributor nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    excel 2016 64bit
    Posts
    1,408

    Re: CheckBox Checked

    Probably typo
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    235

    Re: CheckBox Checked

    It is not a typo.
    This works
    Please Login or Register  to view this content.
    and this works
    Please Login or Register  to view this content.
    and this works
    Please Login or Register  to view this content.
    (at least in office 2016)

  10. #10
    Valued Forum Contributor nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    excel 2016 64bit
    Posts
    1,408

    Re: CheckBox Checked

    @ Dotchijack
    Never knew that you could abbreviate to that extent

  11. #11
    Forum Contributor
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    235

    Re: CheckBox Checked

    @ nigelog I don't like typing.

  12. #12
    Forum Contributor 323100N's Avatar
    Join Date
    08-11-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    253

    Re: CheckBox Checked

    Thank you! It works great now

  13. #13
    Forum Contributor
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    235

    Re: CheckBox Checked

    Glad to help.

+ 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