+ Reply to Thread
Results 1 to 6 of 6

Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

  1. #1
    Forum Contributor
    Join Date
    06-17-2015
    Location
    Norwich, England
    MS-Off Ver
    2016 (Office 365)
    Posts
    103

    Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

    Hi - new to Office 2016 (recently used 2007) so this is a bit of a surprise

    This code uses data in one book to update in another - I've included ScreenUpdating commands and the two workbooks flicker away during the macro - looks terrible - I'm sure this must have come up somewhere before but I can't find anything simple to substitute in the code?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

    There doesn't appear to be any need to be selecting cells or switching between workbooks there, so I would suggest you remove all of that. It will be more efficient and should remove the flicker. Screenupdating doesn't seem to work quite the same in 2016 as it used to.
    It should look something like this
    Please Login or Register  to view this content.
    Last edited by xlnitwit; 04-11-2018 at 10:45 AM.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Contributor
    Join Date
    06-17-2015
    Location
    Norwich, England
    MS-Off Ver
    2016 (Office 365)
    Posts
    103

    Re: Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

    HI - thanks for that - only just had chance to get back to it - it seems to scroll though the list but the value (date) in wbLog.Sheets("Sheet2").Range("B3") doesn't appear in foundCell.Offset(0, 17)

    I'vet ried stepping through the macro (F8) and I can't see it doing anything?

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

    It's very hard to comment without a workbook but I would assume that the search value is not being found in that case.

  5. #5
    Forum Contributor
    Join Date
    06-17-2015
    Location
    Norwich, England
    MS-Off Ver
    2016 (Office 365)
    Posts
    103

    Re: Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

    Wow - just spotted the problem - the find was pointed to the wrong column - once sorted it was so quick - looks like I'm going to have go back to some similar macros and do some re-writing!

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Excel 2016 stop screens flickering during macro - ScreenUpdating already in use

    Have fun!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel 2016 - stop copying!!!!
    By heytherejem in forum Excel General
    Replies: 6
    Last Post: 03-09-2018, 05:40 AM
  2. Excel 2013 and Excel 2016 still flickering after ScreenUpdating is off
    By catalystsystems in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2017, 06:57 PM
  3. Help on how to stop screen flickering
    By Kevin_M in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2015, 06:24 PM
  4. [SOLVED] How to stop flickering?
    By iqballud in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-18-2014, 07:52 AM
  5. Replies: 1
    Last Post: 09-30-2013, 10:56 PM
  6. Replies: 15
    Last Post: 12-09-2009, 08:46 AM
  7. Reduce Flickering using Application.ScreenUpdating
    By Xiazer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2006, 05:25 AM

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