ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula View (https://www.excelbanter.com/excel-discussion-misc-queries/1862-formula-view.html)

[email protected]

Formula View
 
When in the Formula View ( by clicking Ctrl `), how can I format the cells to
wrap text so I can see and print all formulae in my spreadsheet.

Frank Kabel

Hi
AFAIK this is not possible

--
Regards
Frank Kabel
Frankfurt, Germany

wrote:
When in the Formula View ( by clicking Ctrl `), how can I format the
cells to wrap text so I can see and print all formulae in my
spreadsheet.




Dave Peterson

Maybe you can use a helper worksheet and a UserDefinedFunction:

Option Explicit
Function getFormula(rng As Range)
With rng(1)
If .HasFormula Then
getFormula = .Formula
Else
getFormula = .Text
End If
End With
End Function

Then you can insert a new worksheet and do this in A1:

=getformula(sheet1!a1)

Drag down as far as you need and to the right as far as you need.

Format the way you want.

If you're new to macros, you may want to read David's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


wrote:

When in the Formula View ( by clicking Ctrl `), how can I format the cells to
wrap text so I can see and print all formulae in my spreadsheet.


--

Dave Peterson

Gord Dibben

You cannot wrap text for formulas.

You could edit/replace the = sign with "=" and see all formulas as text, which
you could wrap.

Alternative...................

See John Walkenbach's site for his ListFormulas macro.

http://j-walk.com/ss/excel/tips/tip37.htm

"Most users have discovered that Excel has an option that lets you display
formulas directly in their cells: Choose Tools Options, click the View tab,
and select the Formulas checkbox. However, Excel doesn't provide a way to
generate a concise list of all formulas in a worksheet. The VBA macro below
inserts a new worksheet, then creates a list of all formulas, cell addresses
and their current values."

Gord Dibben Excel MVP


On Tue, 14 Dec 2004 09:45:01 -0800, "
wrote:

When in the Formula View ( by clicking Ctrl `), how can I format the cells to
wrap text so I can see and print all formulae in my spreadsheet.




All times are GMT +1. The time now is 07:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com