+ Reply to Thread
Results 1 to 3 of 3

Hiding and Unhiding a GROUP / PICTURE embedded in a worksheet

  1. #1
    Registered User
    Join Date
    12-26-2016
    Location
    London, England
    MS-Off Ver
    365
    Posts
    79

    Hiding and Unhiding a GROUP / PICTURE embedded in a worksheet

    Hi I have a very simple code that I thought would work......

    The active cell is either "Yes", "No", Blank, or contains a number (formatted as a date)

    I only want the GROUP to be visible when the Activecell is a Number (formatted as a date)

    The code works to show the GROUP, but does will not hide the GROUP when the Activecell is "Yes", "no", or Blank using the following code

    Hope this is a simple request - Ta Hans

    Please Login or Register  to view this content.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Hiding and Unhiding a GROUP / PICTURE embedded in a worksheet

    Hi,

    Your first If statement will always be true. If the cell is Yes, a number, or blank, then it's not No, and if it's No, it's not Yes. Given your stated possible values, you only really need the IsNumeric test to show the shape so remove the rest.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Hiding and Unhiding a GROUP / PICTURE embedded in a worksheet

    Please Login or Register  to view this content.
    what is i?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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] Show Picture in UserForm contained within Embedded Worksheet.
    By Environment in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-26-2013, 04:34 AM
  2. Hiding and unhiding worksheets based on a cell value from another worksheet
    By J_barber in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2013, 01:02 PM
  3. How do I combine worksheet changes for hiding/unhiding rows?
    By dennig231 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2013, 11:07 PM
  4. Replies: 2
    Last Post: 07-28-2011, 10:41 PM
  5. Worksheet Protection & Hiding/Unhiding Grouped Rows
    By makku in forum Excel General
    Replies: 2
    Last Post: 07-02-2009, 06:17 AM
  6. Hiding or unhiding a picture
    By krabople in forum Excel General
    Replies: 3
    Last Post: 11-08-2006, 01:03 PM
  7. [SOLVED] How do I delete an embedded picture on a worksheet using VBA?
    By GTJames in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2006, 10:45 AM
  8. [SOLVED] Hiding/Unhiding
    By Bobby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-25-2005, 05:43 PM

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