+ Reply to Thread
Results 1 to 4 of 4

code to bring up the save as window

  1. #1
    Registered User
    Join Date
    09-24-2008
    Location
    Las Vegas
    Posts
    12

    code to bring up the save as window

    im trying to write a code that asks a question and give's a yes or no result

    it must happen when the workbook is opened first thing.

    if yes then it brings up the save as window

    if no then it end's the sub.

    can someone write a generic code that works? so i can see what im doing wrong here.
    Last edited by mike.richards; 02-18-2009 at 07:53 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: open event

    You're title is misleading. Can you please edit it as per forum rules below

    Something like

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    09-24-2008
    Location
    Las Vegas
    Posts
    12

    Re: code to bring up the save as window

    this seems to work except it doesn't save. i should also mention that im using 2007 and it needs to be accessible for 2003 users.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: code to bring up the save as window

    Maybe like this. Code goes in ThisWorkbook module.
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

+ 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