+ Reply to Thread
Results 1 to 8 of 8

Hide formula without password protecting sheet

  1. #1
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2007
    Posts
    100

    Exclamation Hide formula without password protecting sheet

    Hi

    Friends

    i got one code in Google search, with that code we can hide the formula and get value of the formula in the formula bar

    The code is working fine when we use the Range Section, if we insert the row in given range then formula will display due to the range option extend from the code

    here is the code

    Please Login or Register  to view this content.
    so my request is just remove the range section, i mean in the entire worksheet some cells has formula then when we select the cell then it will hide the formula and show only value. If some one insert the row above the formula then nothing effect the formula.


    hope you understand

    Thanks

    SP
    Last edited by Patnaik; 01-18-2013 at 01:41 AM. Reason: add some words

  2. #2
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Hide formula without password protecting sheet

    To consider all the cells in worksheet
    Try changing
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Hide formula without password protecting sheet

    @haripopuri


    Hi

    Thanks for you Replay

    as per your instruction i changed the range mode then what happen you know when i enter any matter then it will not appear and when i remove the value from cell then it is not delete i mean

    say i use the formula in B1 as

    Please Login or Register  to view this content.
    WHEN I SELECT THE B1 IT WILL HIDE THE FORMULA AND DISPLAY THE RESULT IF I WOULD LIKE TO CHANGE OR EDIT THE NUMBER THEN IT IS NOT ACCEPT AND IF I ENTER ANY NUMBER OR WORD IN ANOTHER CELL THEN ALSO IT IS NOT APPEAR

    KINDLY HELP

    Thanks


    SP

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Hide formula without password protecting sheet

    Hi,

    That's what exactly I got when i tried the code given by you. You have mentioned that this code is working fine except the range, hence I suggested how to change range. Otherwise this code doesn't make sense for what you wanted.

    Can you please explain what would you like your code to do?

  5. #5
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Hide formula without password protecting sheet

    @Haripopuri

    Hi

    i am sorry for my late replay

    Actually the Code functions for FORMULA hide and shows the value of the formula in Formula bar with out protecting with in the specific range if some one press the F2 or Edit the cell then it's display the Value only not the formula but the formula is there in that cell, when we insert the row in given range then the last row of formula is displayed in formula bar due to range is changed in the code suppose the range is (A1:A20) if some one insert a new row in A10 then the formula of A21 is Displayed in the Formula Bar

    so i want to change the code / remove the range section, if any cell has formula then it will show only the value not formula in the worksheet if some one insert the row then no problem because there is no restriction for Range

    Hope you Under Stand

    Thanks

    SP

  6. #6
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Hide formula without password protecting sheet

    Hi

    Is it possible for me

    Thanks

    SP

  7. #7
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Bhubaneswar
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Hide formula without password protecting sheet

    HI

    Still i stuck here

    Kindly Help

    Thanks

    SP

  8. #8
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Hide formula without password protecting sheet

    Hi SP,

    I am sorry, I was travelling. I am not aware of any code for this purpose. If your existing code is not working then you are on your own.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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