Results 1 to 8 of 8

Thread: [RESOLVED] Macro Free Workbook

  1. #1

    Thread Starter
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    Resolved [RESOLVED] Macro Free Workbook

    I have enabled all in macro security but this version of office still produces this message



    I carnt even find where the version is displayed lol

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Macro Free Workbook

    That error is nothing to do with macro security, etc - the problem is that you are trying to save the file as a type of file that does not support macros (such as *.CSV).

  3. #3

    Thread Starter
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    Re: Macro Free Workbook

    ok, thanks

    I changed a setting in options/save

  4. #4
    New Member
    Join Date
    Apr 2010
    Posts
    2

    Re: [RESOLVED] Macro Free Workbook

    By the way how is it possible to disable that warning window?

    I move an enable-macro to an not able macro (I want to do that)

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [RESOLVED] Macro Free Workbook

    Welcome to VBForums

    As far as I know, the only ways to disable that window are to save as a file type that supports macros, or to remove all of the macros.

    To remove all of the macros, open the VB Editor, then go to the Project Explorer window (via the View menu). For each item in the list, right-click on it and select "Remove".

  6. #6
    New Member
    Join Date
    Apr 2010
    Posts
    2

    Re: [RESOLVED] Macro Free Workbook

    Thanks for the welcome

    I just needed to save to a non-macro excel cause I dont want the user to use the macros (they are open with the Auto_Open and later save to an xls without the macros).

  7. #7
    New Member
    Join Date
    Jul 2012
    Posts
    1

    Re: [RESOLVED] Macro Free Workbook

    Hello all;
    I was able to just go back to the basic Excel page extension. That cleared it and stopped the query.

    I look forward to this site. It's, X Cit Ing. LOL.

  8. #8
    New Member
    Join Date
    Nov 2012
    Posts
    1

    Re: [RESOLVED] Macro Free Workbook

    Quote Originally Posted by toecutter View Post
    I have enabled all in macro security but this version of office still produces this message



    I carnt even find where the version is displayed lol
    I have the same issue, but i want to overwrite/not prompt to continue saving as a macro-free workbook.

    My code is below:
    Code:
    Private Sub Workbook_Open()
    Run "update_rpt"
    End Sub
    Update_rpt
    Code:
    Sub update_rpt()
    Dte = Weekday(Date)
     Select Case Dte
     Case Is = 3, 4, 5, 6, 7
     Dte = Date - 1
     Case Is = 1 'Sun
     Dte = Date - 2
     Case Is = 2 'Mon
     Dte = Date - 3
     End Select
     FDte = Format(Dte, "yyyy_mm_dd")
    '
    ' update_rpt Macro
    '
    
    ChDir "\\ezfp1\Results\InReview\"
        ActiveWorkbook.SaveAs Filename:= _
            "\\ezfp1\Results\InReview\AML_" & FDte & ".xls", FileFormat:= _
            xlOpenXMLWorkbook, CreateBackup:=False
    
    End Sub
    Exit_Excel
    Code:
    Sub Exit_Excel()
    Application.Quit
    End Sub

Posting Permissions

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



Click Here to Expand Forum to Full Width