Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Show all formulas on sheet

I have a spread sheet that contains a large amount of formulas. I would like
to double check my formulas. Is there a way to show all the formulas at once
instead of one cell at a time?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Show all formulas on sheet

Atwork, Ctrl+`, next to the number 1 key on my keyboard, will toggle between
valves and formulas

You may also want to try this macro by John Walkenbach

This will list formulas , cell address, and valves in a new worksheet for
the sheet you are on.



Sub ListFormulas()

'from John Walkenbach

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



Dim FormulaCells As Range, Cell As Range

Dim FormulaSheet As Worksheet

Dim Row As Integer



' Create a Range object for all formula cells

On Error Resume Next

Set FormulaCells = Range("A1").SpecialCells(xlFormulas, 23)



' Exit if no formulas are found

If FormulaCells Is Nothing Then

MsgBox "No Formulas or the sheet is protected."

Exit Sub

End If



' Add a new worksheet

Application.ScreenUpdating = False

Set FormulaSheet = ActiveWorkbook.Worksheets.Add

FormulaSheet.Name = "Formulas in " & FormulaCells.Parent.Name



' Set up the column headings

With FormulaSheet

Range("A1") = "Address"

Range("B1") = "Formula"

Range("C1") = "Value"

Range("A1:C1").Font.Bold = True

End With



' Process each formula

Row = 2

For Each Cell In FormulaCells

Application.StatusBar = Format((Row - 1) / FormulaCells.Count, "0%")

With FormulaSheet

Cells(Row, 1) = Cell.Address _

(RowAbsolute:=False, ColumnAbsolute:=False)

Cells(Row, 2) = " " & Cell.Formula

Cells(Row, 3) = Cell.Value

Row = Row + 1

End With

Next Cell

' Adjust column widths

FormulaSheet.Columns("A:C").AutoFit

Application.StatusBar = False

End Sub

"Atwork today" wrote in message
...
I have a spread sheet that contains a large amount of formulas. I would
like
to double check my formulas. Is there a way to show all the formulas at
once
instead of one cell at a time?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Show all formulas on sheet

TOOLS/OPTIONS/VIEW tick formulas and OK


"Atwork today" wrote in message
...
I have a spread sheet that contains a large amount of formulas. I would
like
to double check my formulas. Is there a way to show all the formulas at
once
instead of one cell at a time?



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
Need help with a project sheet, need date to show/not show based o Max Excel Discussion (Misc queries) 4 December 8th 09 11:01 PM
How to format sheet to show first box whilst tabbing across sheet Trish Excel Discussion (Misc queries) 3 August 22nd 07 07:02 PM
how do you can show the formulas on spreed sheet goldiedulku Excel Discussion (Misc queries) 1 January 9th 07 06:36 AM
Excel: have add'l rows entered in sheet 1 always show up in sheet Sooz in Grants Pass Excel Worksheet Functions 0 September 18th 06 01:33 AM
with formulas that show negative results I want to show zero inste brit64 Excel Discussion (Misc queries) 6 August 29th 05 11:12 PM


All times are GMT +1. The time now is 05:32 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"