Results 1 to 30 of 30

Using Value in Cell to hide/unhide rows

Threaded View

maayub15 Using Value in Cell to... 02-02-2012, 02:48 AM
maayub15 Re: Using Value in Cell to... 02-02-2012, 03:33 AM
rscsmith Re: Using Value in Cell to... 02-02-2012, 04:29 AM
maayub15 Re: Using Value in Cell to... 02-02-2012, 08:54 PM
royUK Re: Using Value in Cell to... 02-02-2012, 09:14 AM
maayub15 Re: Using Value in Cell to... 02-02-2012, 08:44 PM
rscsmith Re: Using Value in Cell to... 02-02-2012, 11:26 PM
maayub15 Re: Using Value in Cell to... 02-03-2012, 03:11 AM
maayub15 Re: Using Value in Cell to... 02-03-2012, 03:20 AM
rscsmith Re: Using Value in Cell to... 02-03-2012, 04:20 AM
maayub15 Re: Using Value in Cell to... 02-06-2012, 02:03 AM
maayub15 Re: Using Value in Cell to... 02-06-2012, 02:10 AM
maayub15 Re: Using Value in Cell to... 02-08-2012, 12:55 AM
rscsmith Re: Using Value in Cell to... 02-08-2012, 06:01 PM
maayub15 Re: Using Value in Cell to... 02-10-2012, 03:40 AM
rscsmith Re: Using Value in Cell to... 02-12-2012, 06:29 PM
maayub15 Re: Using Value in Cell to... 02-12-2012, 09:59 PM
rscsmith Re: Using Value in Cell to... 02-13-2012, 07:44 PM
maayub15 Re: Using Value in Cell to... 02-14-2012, 01:54 AM
rscsmith Re: Using Value in Cell to... 02-15-2012, 12:33 AM
maayub15 Re: Using Value in Cell to... 02-16-2012, 09:27 PM
rscsmith Re: Using Value in Cell to... 02-16-2012, 09:56 PM
maayub15 Re: Using Value in Cell to... 02-22-2012, 10:31 PM
maayub15 Re: Using Value in Cell to... 03-01-2012, 02:46 AM
rscsmith Re: Using Value in Cell to... 03-01-2012, 06:15 PM
maayub15 Re: Using Value in Cell to... 03-07-2012, 10:26 PM
maayub15 Re: Using Value in Cell to... 03-07-2012, 10:59 PM
maayub15 Re: Using Value in Cell to... 03-14-2012, 04:18 AM
rscsmith Re: Using Value in Cell to... 03-14-2012, 08:35 AM
maayub15 Re: Using Value in Cell to... 03-15-2012, 02:23 AM
  1. #8
    Registered User
    Join Date
    02-02-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Using Value in Cell to hide/unhide rows

    Hi Rob,

    Thanks for the solution. i didnt know so many options were available. by the way, I'm having a slight issue based on the codes that you have suggested when i applied to another worksheet. This other worksheet is named "NDE Report" and is reflected as "Sheet8(NDE Report)" on the VBE window panel. Also i have tweaked my original codes with yours to be used in this worksheet but it does not automate the hiding function.

    Sub MPI_CHK_BOX()
    
    If Range("O26").Value = X Then
    Rows("27:59").EntireRow.Hidden = True
    Else
    Rows("27:59").EntireRow.Hidden = False
    End If
    End Sub
    - the above code was put into the module2 code box( do i have to take note of the X? should i put it in ""? This made no difference to the macro when i mnaully click it)

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$0$26" Then
    Call MPI_CHK_BOX
    End If
    End Sub
    - This one was placed into the worksheet(Sheet8) code box
    Last edited by maayub15; 02-03-2012 at 03:13 AM. Reason: typo and extra details

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