Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default hiding huge formula's in an excel sheet

Hello,

One of collegue's had made an excel sheet with a huge formula.

When you open the excel sheet you see the huge formula wich stands in the
content of the sheet

Is the anyway to hide the formula ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default hiding huge formula's in an excel sheet

You could hide the column so it will not be visible.

You could use Format | Cells | Protection (tab) on the cells
containing the formula and check both Locked and Hidden - if you then
protect the sheet (with or without a password) then you will only see
the result of the formula, not the formula itself.

Hope this helps.

Pete


On Jul 3, 4:26 pm, sandert wrote:
Hello,

One of collegue's had made an excel sheet with a huge formula.

When you open the excel sheet you see the huge formula wich stands in the
content of the sheet

Is the anyway to hide the formula ?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default hiding huge formula's in an excel sheet

Hi

In addition to what Pete has suggested, if the formulae are not too
long, then you might be able to create named formulae.
InsertNamedefine
Name myFormula1
Refers to =your_long_formula

If you copy the formula, then you can use Ctrl + V to Paste it into the
Refers to pane.
In your cell then just use =myFormula1

Alternatively, If the problem is only when you access the cell for
editing purposes, and you cannot see the column headings, you could run
the small macro, which will toggle the sheet from filling the screen, to
taking up a smaller area. These are the sizes I find suitable, you can
vary the values to suit yourself.

Sub smallsheet()

If ActiveWindow.WindowState = xlMaximized Then
Windows.Arrange ArrangeStyle:=xlCascade
With ActiveWindow
.Top = 56.5
.Left = -2.75
.Width = 765
.Height = 393
End With

Else
ActiveWindow.WindowState = xlMaximized
End If

End Sub

You can copy the code and paste it into your Visual Basic Editor
(VBE) in a Standard Module located in your file.

To do this,

Alt + F11 (open VBE)
Ctrl + R (open Project Explorer)
Select the file name on the left
Insert Module
Paste code in Module

To run the macro, ToolsMacroMacrosSelect the macroRun.

If you want to create a shortcut, then ToolsMacrosSelect the
macroOptionsenter a key to use with CtrlOK


If you are new to entering macros, then David McRitchie has lots of
useful help on his site at
http://www.mvps.org/dmcritchie/excel/install.htm
http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Regards

Roger Govier


"sandert" wrote in message
...
Hello,

One of collegue's had made an excel sheet with a huge formula.

When you open the excel sheet you see the huge formula wich stands in
the
content of the sheet

Is the anyway to hide the formula ?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default hiding huge formula's in an excel sheet

Hello,

I want to thank you both for your answers, i will notify my collegue of this
post and hope he can use one of the provided solutions.
Thanks again

"Roger Govier" wrote:

Hi

In addition to what Pete has suggested, if the formulae are not too
long, then you might be able to create named formulae.
InsertNamedefine
Name myFormula1
Refers to =your_long_formula

If you copy the formula, then you can use Ctrl + V to Paste it into the
Refers to pane.
In your cell then just use =myFormula1

Alternatively, If the problem is only when you access the cell for
editing purposes, and you cannot see the column headings, you could run
the small macro, which will toggle the sheet from filling the screen, to
taking up a smaller area. These are the sizes I find suitable, you can
vary the values to suit yourself.

Sub smallsheet()

If ActiveWindow.WindowState = xlMaximized Then
Windows.Arrange ArrangeStyle:=xlCascade
With ActiveWindow
.Top = 56.5
.Left = -2.75
.Width = 765
.Height = 393
End With

Else
ActiveWindow.WindowState = xlMaximized
End If

End Sub

You can copy the code and paste it into your Visual Basic Editor
(VBE) in a Standard Module located in your file.

To do this,

Alt + F11 (open VBE)
Ctrl + R (open Project Explorer)
Select the file name on the left
Insert Module
Paste code in Module

To run the macro, ToolsMacroMacrosSelect the macroRun.

If you want to create a shortcut, then ToolsMacrosSelect the
macroOptionsenter a key to use with CtrlOK


If you are new to entering macros, then David McRitchie has lots of
useful help on his site at
http://www.mvps.org/dmcritchie/excel/install.htm
http://www.mvps.org/dmcritchie/excel/getstarted.htm


--
Regards

Roger Govier


"sandert" wrote in message
...
Hello,

One of collegue's had made an excel sheet with a huge formula.

When you open the excel sheet you see the huge formula wich stands in
the
content of the sheet

Is the anyway to hide the formula ?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I select all odd-numbered rows in huge excel sheet? bgilliam Excel Discussion (Misc queries) 1 January 5th 07 03:57 PM
huge huge excel file... why? Josh Excel Discussion (Misc queries) 12 February 9th 06 09:55 PM
Huge problem with "if" formula's [email protected] Excel Discussion (Misc queries) 16 July 20th 05 07:20 PM
Hiding Formula's mully New Users to Excel 2 May 21st 05 12:07 PM
Huge sheet into smaller sheets Mia Links and Linking in Excel 1 January 28th 05 07:40 AM


All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"