+ Reply to Thread
Results 1 to 7 of 7

Unhide and Hide Cells on different sheet according to specific value from other sheet.

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    29

    Unhide and Hide Cells on different sheet according to specific value from other sheet.

    Hi. How can I hide and unhide rows according to the day of the date? I have a dropdown menu in SHEET 1 so whenever I change the month, it will automatically place a "30" or "31" in the day cell. So I'm trying to hide a specific row in SHEET 2 whenever the selected day is 30. How can I do that? Also, is it possible that it will automatically hide or unhide whenever the month change? Thanks!

    SHEET 1:
    Capture.JPG

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Unhide and Hide Cells on different sheet according to specific value from other sheet.

    Hi, what if you place this code in a your worksheet module of "Sheet1":
    Please Login or Register  to view this content.
    Maybe you'll have to change the references to the ranges to your needs

    Cheers
    Erwin
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Registered User
    Join Date
    04-13-2020
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    29

    Re: Unhide and Hide Cells on different sheet according to specific value from other sheet.

    Quote Originally Posted by Eastw00d View Post
    Hi, what if you place this code in a your worksheet module of "Sheet1":
    Please Login or Register  to view this content.
    Maybe you'll have to change the references to the ranges to your needs

    Cheers
    Erwin
    It is not working.

  4. #4
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Unhide and Hide Cells on different sheet according to specific value from other sheet.

    So, please can you upload a sample of your workbook?
    Cheers
    Erwin

  5. #5
    Registered User
    Join Date
    04-13-2020
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    29

    Re: Unhide and Hide Cells on different sheet according to specific value from other sheet.

    Quote Originally Posted by Eastw00d View Post
    So, please can you upload a sample of your workbook?
    Cheers
    Erwin
    Here's the workbook. I'm planning to hide the day 31 on the sheet 2 when the day of the month is 30. Thanks!
    Attached Files Attached Files
    Last edited by cjvdg; 06-05-2020 at 03:25 AM.

  6. #6
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Unhide and Hide Cells on different sheet according to specific value from other sheet.

    Hi, so maybe this is the solution:
    I cannot work it completely out, as the names of our months are not English, but I think it will work:
    Please Login or Register  to view this content.
    Made it also workable for the exception in February
    But I had to correct the formula:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    Attached Files Attached Files
    Last edited by Eastw00d; 06-05-2020 at 06:52 AM. Reason: additional information

  7. #7
    Registered User
    Join Date
    04-13-2020
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    29

    Re: Unhide and Hide Cells on different sheet according to specific value from other sheet.

    Thank you ver much! It is working!

+ 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] Text value from specific sheet, and Unhide/Hide rows to another sheets
    By chrismil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-22-2020, 08:22 AM
  2. Replies: 16
    Last Post: 12-06-2018, 12:34 PM
  3. Hide or Unhide Rows on one sheet based on value entered in cell on another sheet
    By wfsteadman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2016, 07:30 PM
  4. Hide/Unhide cells on protected sheet
    By snuffnchess in forum Excel General
    Replies: 1
    Last Post: 10-17-2015, 03:54 PM
  5. Capture cells from one sheet into another. Hide/Unhide Sheets
    By jj72uk in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-12-2009, 08:28 PM
  6. unhide sheet, copy data, hide sheet - screenupdate = false
    By titus.hanke in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-08-2008, 02:46 PM

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