+ Reply to Thread
Results 1 to 5 of 5

Screen Updating won't turn off

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    Alaska, USA
    MS-Off Ver
    Excel 2007
    Posts
    31

    Screen Updating won't turn off

    Hi,
    I've been using this code for awhile and it hasn't been giving me any trouble until recently. Now the screen updating won't turn off like it did before. I've added other code to the workbook, but nothing I can think of that would interfere with the screen updating in this code. Does anyone see anything that could be the problem, or know what would interfere with the application.screenupdating=false?

    Please Login or Register  to view this content.


    Thanks.
    Last edited by Jaron_t; 01-08-2013 at 03:01 PM.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Screen Updating won't turn off

    Hello Jaron_t,

    Try it like this;

    Please Login or Register  to view this content.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    Alaska, USA
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Screen Updating won't turn off

    Doesn't seem to make a difference. I guess you didn't see anything in the code itself that would cause trouble, so maybe something else I did is interfering. Do change events or userform linked cells or control sources mess with other macros? I've added a lot of code in other places, but I haven't changed this macro at all and it worked perfectly before.

  4. #4
    Registered User
    Join Date
    05-14-2012
    Location
    Alaska, USA
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Screen Updating won't turn off

    Ok, got it. I discovered the problem was a change event. It basically said:

    'detect if the active cell is in this range and
    if so do this
    if not don't do anything'

    and in the 'if not' part I had a screenupdating=true, so when the macro went to select/copy/paste, it would trigger the change event, which would turn screen updating back on.

    At least, that's what I think was going on...it's fixed anyway.

    I read somewhere on google that screen updating defaults to true after a macro runs anyway, so I guess I didn't have to be turning it back on all the time.

    If anyone else was trying to figure this out, thanks for your time.
    Last edited by Jaron_t; 01-08-2013 at 03:02 PM.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Screen Updating won't turn off

    Hello Jaron_t,

    I have not seen your other Code, but if you have managed to solve the issue, good for you!

    Please remember to mark your Thread as "Solved",

+ 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