+ Reply to Thread
Results 1 to 2 of 2

Hide Cells Based on Weekday Value

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    55

    Hide Cells Based on Weekday Value

    Hi all!

    Thanks for taking the time to read this.

    I'm trying to hide columns based on user input in DDD format, for example typing in 'Sun' into cells(5,3).

    It looks along the top row of the workbook and is meant to hide cells without this user input (for example any 'Fri').

    The top row of cells are formula'd to text based on a date e.g. = TEXT(WEEKDAY('CELL WITH DATE IN'), "DDD").

    However it doesnt seem to work and I dont know why!

    If anyone can enlighten me I would greatly appreciate it!


    Regards,


    Coeus.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Hide Cells Based on Weekday Value

    You don't appear to have assigned a value to WKDAY. Try running the code by stepping through (F8) in debug mode and hovering over the variables.
    Martin

+ 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] Calculate weekday end date based on sum of weekday start date and cell value
    By Rerock in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2014, 09:17 AM
  2. Hide a Row Based on a Cells Value
    By psnow in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-30-2014, 10:28 AM
  3. hide certain cells based on value
    By jamied2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-19-2014, 04:00 PM
  4. Hide Cells Based on a Value
    By schumanp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2013, 06:54 PM
  5. [SOLVED] Hide cells based on value
    By boll55 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-28-2012, 02:29 AM

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