+ Reply to Thread
Results 1 to 4 of 4

Save As Dialog box in the way

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Save As Dialog box in the way

    I have a series of macros, the first of which askes the user to save two other workbooks by pulling up the "Save As" dialog box. Once they've hit the last "Save" a combo box allows them to pick a region they want to work on. My problem is that my combo box comes before the Save As box goes away, and I don't want my users to be seeing the Save As box the entire time the macro is running.

    I tried adding a timer to wait for the SA box to go away, but that's a very inefficient way to time it. Is there a way to trigger my next macro (the combo box) by looking at when the SA dialog box finishes?

    I've posted my current code below. I've tried setting a timer, but since I have 20 different users on machines of varying speeds I don't know exactly where to set it.

    First part of code (workbook open). After the SaveAPR, I have a macro perform substitutions in another spreadsheet, then I load my popup.
    Please Login or Register  to view this content.
    Next part. Notice I set a timer at the end of the SaveAPR code. I don't know if that's the best place for it.
    Please Login or Register  to view this content.
    I appreciate any help I can get on this. Thanks in advance.
    Last edited by jomili; 06-04-2010 at 02:26 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Save As Dialog box in the way

    What do you do with the saveas dialog?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Save As Dialog box in the way

    My main workbook pulls and manipulates data from two other workbbooks that are generated on a weekly basis. These two workbooks have variable names depending on the time and date they were created. The Save As is to renamed them as APR .xls and ESS.xls so I can call them consistently throughout my routine.

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Save As Dialog box in the way

    Well, sometimes I'm just too stupid for words. I fixed it, and it was way too easy. In my "SaveAPR" macro, at the beginning I turned off screen updating, and never turned it back on, so my SaveAs box stayed up. Turning off the screen updating made all the difference, and I'm good to go now.

+ 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