+ Reply to Thread
Results 1 to 4 of 4

Move to new sheet only when code finishes.

  1. #1
    Forum Contributor
    Join Date
    12-15-2008
    Location
    Oxfordshire, UK
    MS-Off Ver
    2007.
    Posts
    100

    Move to new sheet only when code finishes.

    Hi All.

    I have a small problem that is more annoying than anything else.
    I have a command button that opens a userform, and the user can select a value and 'OK'. On 'OK', the code runs, however I would like the sheet 'Information' to remain visible until the code finishes and then switch to 'Task Intervals'.
    There is also a lot of screen flicker, despite selecting it off/on.
    I have included an Example file so that you can see the problem. I have no problems at all with the code, it works exactly as advertised.

    Can anyone see how to do this?

    Many thanks for your help.

    JD
    Attached Files Attached Files
    Last edited by jad70; 02-28-2009 at 09:29 AM.

  2. #2
    Forum Contributor
    Join Date
    12-15-2008
    Location
    Oxfordshire, UK
    MS-Off Ver
    2007.
    Posts
    100

    Re: Move to new sheet only when code finishes.

    -----Bump, No response--------

    Any takers?

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

    Re: Move to new sheet only when code finishes.

    You switch screen updating on between macros, so the screen updates. Just switch it off in the main OK code.
    Attached Files Attached Files
    Hope that helps.

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

    Free DataBaseForm example

  4. #4
    Forum Contributor
    Join Date
    12-15-2008
    Location
    Oxfordshire, UK
    MS-Off Ver
    2007.
    Posts
    100

    Re: Move to new sheet only when code finishes.

    Thanks Roy.
    Sometimes you cannot see the wood for the trees....

    JD

+ 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