+ Reply to Thread
Results 1 to 3 of 3

when i tick my check box ,5 should come in column h but when i untick it should disapper

  1. #1
    Forum Contributor
    Join Date
    07-07-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256

    when i tick my check box ,5 should come in column h but when i untick it should disapper

    Dear Friends

    i have a form with checkbox
    when i tick this check box,5 should appear in the column H after the last used row in the column H , it works well but when i deselect/untick ,again also the number 5 is coming in the next cell of the column H..when i untick the appeared number should actually disappear ,

    My macro
    Private Sub CheckBox1_Click()
    H = Cells(Rows.Count, "H").End(xlUp).Row + 1
    Cells(H, 8).Value = 5
    End Sub


    can you kindly help me...

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: when i tick my check box ,5 should come in column h but when i untick it should disapp

    Do you mean this:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-07-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256

    Re: when i tick my check box ,5 should come in column h but when i untick it should disapp

    thank u very much sir

+ 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] 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
  2. [SOLVED] To have multiple cells with tick and untick function in one worksheet
    By jjin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2013, 07:21 PM
  3. [SOLVED] Tick or Check Box
    By mvg688 in forum Excel General
    Replies: 4
    Last Post: 07-31-2012, 04:00 AM
  4. Shapes that could tick/untick a box
    By Sibrulotte in forum Excel General
    Replies: 5
    Last Post: 07-21-2010, 01:06 PM
  5. Place a tick in a cell when selected, untick it if selected again and....
    By hriggs in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-14-2009, 09:09 AM

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