+ Reply to Thread
Results 1 to 8 of 8

Invisible hide the formulas from all sheets in workbook based on Green color

  1. #1
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Invisible hide the formulas from all sheets in workbook based on Green color

    Experts !
    Required one script VB that hide all the formulas in all worksheets based on green color . with some protection no one edited the formulas.
    The sample sheet attached.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,978

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    Not sure what you want, but try code like

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    Bernie Deitrick ,
    Sorry not make understand well.
    Required that cells which are in green color when any one click to the cells not find any formula to see ...

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,978

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    If you want to do that, lock those cells and unlock any others, and protect the sheets choosing to disallow selection of locked cells, and allow selection of unlocked cells.

  5. #5
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    Have 100+ worksheet in a workbook do manually one by one ?

  6. #6
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,978

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    No - use a macro:

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    Thank you great job

  8. #8
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Invisible hide the formulas from all sheets in workbook based on Green color

    Sorry when try to run on original file finding range class error.

    attached screen shot


    Able to find the issue the file containing merged cells also

    Replace
    c.Locked = False
    TO
    c.MergeArea.Locked = False
    Attached Images Attached Images
    Last edited by farrukh; 07-19-2017 at 01:20 PM. Reason: file containing merged cells

+ 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. Hide columns on multiple sheets based on tab color
    By kluftman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2015, 02:17 PM
  2. How to auto hide/unhide sheets in excel workbook based on cell input?
    By bensaps10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2014, 09:57 AM
  3. Help to hide worksheet from view and make invisible to other users of workbook
    By Marcos Aristotelous in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-22-2014, 06:46 AM
  4. [SOLVED] Lock and Hide Sheets based on Tab Color
    By WFM PRO in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2013, 04:07 PM
  5. Macro that will hide/unhide sheets based on tab color.
    By Rixonomic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-11-2012, 02:07 PM
  6. Replies: 12
    Last Post: 09-18-2012, 03:13 PM
  7. [SOLVED] Change a cell color based on a certain value (green or red)
    By Ugbe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2006, 07:22 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