Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Printing formulas in worksheet

I have been able to display & print the results (values) of the formulas that
I have developed, but what I really need is to be able to display & print the
formulas that spawned these results. Thus far I have not been able to print
the actual formulas in the worksheets and I would greatly appreciate any
advise that will help me accomplish this.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Printing formulas in worksheet

Press Ctrl + ~ to have the formula auditing mode..and then try printing

If this post helps click Yes
---------------
Jacob Skaria


"05_CHASBRO" wrote:

I have been able to display & print the results (values) of the formulas that
I have developed, but what I really need is to be able to display & print the
formulas that spawned these results. Thus far I have not been able to print
the actual formulas in the worksheets and I would greatly appreciate any
advise that will help me accomplish this.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Printing formulas in worksheet

Thanks, Jacob! I really appreciate your expedition response to my "post".
While the ctrl+ ~ displays the formula in the the worksheet, it will not
print the formulas directly from the worksheet; HOWEVER, i am able to copy
the displayed formulas & paste them into my Word Processor (2007) & then
copy/paste them into an Excel work sheet & successfully print them. So I
will use the this method to print my formulas until or unless I am informed
of a more direct method of printing them. Nevertheless, your prompt & clear
guidance have helped me achieve my primary goal ("printing formulas in a
worksheet"!). I am most appreciative for your help!

"Jacob Skaria" wrote:

Press Ctrl + ~ to have the formula auditing mode..and then try printing

If this post helps click Yes
---------------
Jacob Skaria


"05_CHASBRO" wrote:

I have been able to display & print the results (values) of the formulas that
I have developed, but what I really need is to be able to display & print the
formulas that spawned these results. Thus far I have not been able to print
the actual formulas in the worksheets and I would greatly appreciate any
advise that will help me accomplish this.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Printing formulas in worksheet

This macro will do a nice job of formula printing.

Sub ListFormulas()
'from John Walkenbach
Dim FormulaCells As Range, Cell As Range
Dim FormulaSheet As Worksheet
Dim Row As Integer
Dim ws As Worksheet
' 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."
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").Cells.WrapText = True ''AutoFit
Application.StatusBar = False
End Sub


Gord Dibben MS Excel MVP

On Fri, 31 Jul 2009 18:20:01 -0700, 05_CHASBRO
wrote:

Thanks, Jacob! I really appreciate your expedition response to my "post".
While the ctrl+ ~ displays the formula in the the worksheet, it will not
print the formulas directly from the worksheet; HOWEVER, i am able to copy
the displayed formulas & paste them into my Word Processor (2007) & then
copy/paste them into an Excel work sheet & successfully print them. So I
will use the this method to print my formulas until or unless I am informed
of a more direct method of printing them. Nevertheless, your prompt & clear
guidance have helped me achieve my primary goal ("printing formulas in a
worksheet"!). I am most appreciative for your help!

"Jacob Skaria" wrote:

Press Ctrl + ~ to have the formula auditing mode..and then try printing

If this post helps click Yes
---------------
Jacob Skaria


"05_CHASBRO" wrote:

I have been able to display & print the results (values) of the formulas that
I have developed, but what I really need is to be able to display & print the
formulas that spawned these results. Thus far I have not been able to print
the actual formulas in the worksheets and I would greatly appreciate any
advise that will help me accomplish this.


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
Printing formulas GARY Excel Discussion (Misc queries) 4 November 20th 08 11:24 AM
Printing all the formulas hopebear Excel Discussion (Misc queries) 1 May 8th 07 09:51 PM
Printing formulas on a worksheet bakerdmw Excel Worksheet Functions 3 March 3rd 06 05:06 PM
printing formulas PattiP Excel Discussion (Misc queries) 4 December 12th 05 09:29 PM
Printing formulas TUNGANA KURMA RAJU Excel Discussion (Misc queries) 7 November 28th 05 07:29 AM


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