Announcement

Collapse
No announcement yet.

Save Excel Sheet

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Save Excel Sheet

    I can open and write to an Excel sheet, but how can I save this sheet?

    Thanks

    Martin

  • #2
    Unless I'm mistaken worksheets are not saved; you save the workbook.

    There should be a method to call for saving a workbook.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Correct

      you are right.

      Any idea how to save it?

      Martin

      Comment


      • #4
        From the samples
        DIM vFile as Variant
        LET vFile = "Test.Xls"
        OBJECT CALL oExcelWorkSheet.SaveAs(vFile)
        Actually whether it saves a workbook or single worksheet depends on what version of Excel compatability you specify, XLS extension version 4 and earlier was a single sheet, later a workbook

        Comment


        • #5
          Thanks!

          Comment

          Working...
          X