+ Reply to Thread
Results 1 to 4 of 4

Documentation

  1. #1
    paul johnson
    Guest

    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. #2
    Necessitysslave
    Guest

    Re: 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. #3
    paul johnson
    Guest

    Re: Documentation

    test
    "paul johnson" <[email protected]> wrote in message
    news:[email protected]...
    >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. #4
    NickHK
    Guest

    Re: 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" <[email protected]> wrote in message
    news:[email protected]...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1