Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Documentation

I have written an excel application and now need to document it.

Is there a quick way to document (print) all the code and all the sheet
calculations?

Many Thanks

Paul


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Documentation

The below is a macro to create a new sheet with the formulas visible
and printable
however I've left formatting (resizing of cells and so forth) to you so
that it is readable on the printed document.

Sub printable()
Dim row As Integer
Dim col As Integer
Dim sheetname As String
sheetname = ActiveSheet.Name
ActiveWorkbook.Worksheets.Add
ActiveSheet.Name = "printable_" & sheetname
Worksheets("printable_" & sheetname).Range("A1:IV65536").NumberFormat =
"@"
For col = 1 To 30
For row = 1 To 30
If Worksheets(sheetname).Cells(col, row).Formula = "" Then
Worksheets("printable_" & sheetname).Cells(col, row) =
Worksheets(sheetname).Cells(col, row).Value
Else
Worksheets("printable_" & sheetname).Cells(col, row) =
Worksheets(sheetname).Cells(col, row).Formula
End If
Next row
Next col
End Sub

Hope this helps

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Documentation

test
"paul johnson" wrote in message
...
I have written an excel application and now need to document it.

Is there a quick way to document (print) all the code and all the sheet
calculations?

Many Thanks

Paul



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Documentation

Paul,
Printing the code from the VBA IDE should not be a problem.
As for the sheets, you mean formulae ?
Go to Options and select "Formuals", then print.

NickHK

"paul johnson" wrote in message
...
I have written an excel application and now need to document it.

Is there a quick way to document (print) all the code and all the sheet
calculations?

Many Thanks

Paul




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
Where's the Documentation for the APIs? Peter Excel Programming 0 August 4th 05 06:16 PM
WorksheetFunction Documentation P-A Caron Excel Worksheet Functions 1 April 12th 05 03:12 PM
Look up VBA documentation using Excel Help Wellie Excel Programming 2 June 8th 04 11:20 PM
VBA Documentation TJ Walls Excel Programming 5 May 11th 04 01:51 PM
Documentation Mark[_36_] Excel Programming 4 February 5th 04 11:02 AM


All times are GMT +1. The time now is 11:12 AM.

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

About Us

"It's about Microsoft Excel"