Consulting

Results 1 to 2 of 2

Thread: Save as to 2003 .xls

  1. #1

    Save as to 2003 .xls

    Hello all and hope you all had a wonderful Holiday Season,

    Not a programer as many of you are, can someone tell me if the code below will make certain that if opened in any version of excel, will always save as 2003 .xls file?

    Thanks Guys and Girls.

    -Frank.


    [VBA]Private Sub CustomSave(Optional SaveAs As Boolean)
    Dim ws As Worksheet, aWs As Worksheet, newFname As String
    Application.ScreenUpdating = False
    Set aWs = ActiveSheet
    Call HideAllSheets
    If SaveAs = True Then
    newFname = Application.GetSaveAsFilename( _
    fileFilter:="Excel Files (*.xls), *.xls")
    If Not newFname = "False" Then ThisWorkbook.SaveAs newFname
    Else
    ThisWorkbook.Save
    End If
    Call ShowAllSheets
    aWs.Activate
    Application.ScreenUpdating = True
    End Sub[/VBA]

  2. #2
    Thanks I have my answer

Posting Permissions

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