Consulting

Results 1 to 3 of 3

Thread: Solved: Automatically Save As when file opens

  1. #1
    VBAX Regular
    Joined
    May 2007
    Posts
    72
    Location

    Solved: Automatically Save As when file opens

    Is there any way I can have vba in a file which automatically, once a file is opened, it prompts the user to Save As???

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Put this in ThisWorkbook module.
    [VBA]
    Private Sub Workbook_Open()
    Application.Dialogs(xlDialogSaveAs).Show
    End Sub

    [/VBA]
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Regular
    Joined
    May 2007
    Posts
    72
    Location
    works like a charm!
    thank you

Posting Permissions

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