Hi,
I have sheet with formulas. how I can hide this formula without protecting sheet? Is there any vba code ?
Hi,
I have sheet with formulas. how I can hide this formula without protecting sheet? Is there any vba code ?
No, there isn't.
Entia non sunt multiplicanda sine necessitate
You can hide the column (or row).
If you just want the results to be invisible, you change the font color to the same color as the fill color.
You could also turn off the Formula Bar but obviously the end-user could just un-hide it again should they wish / know how... moreover it's likely it would make you unpopular amongst your colleagues ... generally speaking I'd say most users prefer to not have their XL environment altered without their prior knowledge.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Why not simply protct the sheet? That way not only can you hide the formulas but no-one can delete them.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
xld had a solution for a similar problem here:
http://www.vbaexpress.com/forum/showthread.php?t=3394
HTH
John
Alright, the question is to hide the formula in a cell/row/column as well as work normally in rest of the sheet. I tried a few VBAs but it wont be of much help if the macros are disabled. I'd to face a similar situation and this is what I did. Hope it helps.
SOLUTION:
Before protecting the sheet with Password-1, use "Allow Users to Edit Ranges" with Password-2 on rest of the cells where formula needn't be hidden.
Password-2 can be shared with the end user, while Password-1 still hides the formulas in selected cells.
You can also leave blank the Password-2, if needed.
Did it help??
Denny George
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks