+ Reply to Thread
Results 1 to 6 of 6

Word screen flicker prevent

  1. #1
    Registered User
    Join Date
    11-01-2016
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    8

    Word screen flicker prevent

    Hello,
    I have the following problem:

    My macro copies text, tables, images from a document, creates a new document, and inserts the items back (the order of the tables and images is different from the original document) A UserForm is to show as Progressbar when the copying process is over (Org File is> 300MB)
    Unfortunately, there is a constant flickering, you can see the UserForm with the Progressbar but everything flickers (Org Dokumet, New document and the UserForm)

    Application.ScreenUpdating = False - has not brought

    Maybe someone has an idea?

    regards
    Todor

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Word screen flicker prevent

    Are there lots of ".select" in the code?

  3. #3
    Registered User
    Join Date
    11-01-2016
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    8

    Re: Word screen flicker prevent

    Yes Im using .select because a have to copy it

    DocOrgFile.Range(lngStart, lngEnd).Select
    Selection.Copy

  4. #4
    Registered User
    Join Date
    11-01-2016
    Location
    Germany
    MS-Off Ver
    2013
    Posts
    8

    Re: Word screen flicker prevent

    Davesexcel,

    That's it.
    I have written the Select statement and it works

    thanks

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Word screen flicker prevent

    This may do the same thing, no select then
    Please Login or Register  to view this content.

  6. #6
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Word screen flicker prevent

    Turning off screen updating generally reduces screen flicker, but switching between documents will still cause that to happen. Even that can be suppressed by setting their visible properties to False.

    As for the content replication, you generally don't need to switch between documents, or to select or copy/paste anything. For example:
    DocDestRng.FormattedText = DocOrgFile.Range(lngStart, lngEnd).FormattedText
    where DocDestRng defines the destination range. You'll also find your code runs much faster this way.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ 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. Prevent Screen Flicker with Freeze Panes
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2015, 12:59 PM
  2. [SOLVED] Prevent Screen Flicker when Showing Progress bar Userform
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2015, 03:36 PM
  3. Screen Flicker - EXCEL 2013 Only
    By A_Pass in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2014, 11:31 AM
  4. Screen Flicker with optionbutton change
    By zplugger in forum Excel General
    Replies: 0
    Last Post: 09-26-2012, 08:17 PM
  5. Screen Flicker
    By BuzzT in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2011, 11:22 AM
  6. [SOLVED] screen flicker
    By mark kubicki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2005, 09:06 PM
  7. [SOLVED] Preventing screen flicker
    By Paul in forum Excel General
    Replies: 2
    Last Post: 03-15-2005, 06:06 PM

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