+ Reply to Thread
Results 1 to 3 of 3

Prevent Screen Updating

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    41

    Prevent Screen Updating

    Hello,

    My macro updates information in another workbook without any errors however when doing so the screen updates even with screen updating set to false. I'm guessing this might be because of the activate events that i have in my code

    [code]
    Workbooks("database.xlsm").Sheets("Data").Activate
    ActiveSheet.Range("H3:H1000").Find(What:=ComBoxExistingComponentName).Activate
    ActiveCell.Value = TextBoxRevisedComponentName
    [code]

    I'm looking for suggestions on how to stop the screen updating or perhaps a more efficient way to structure the code that would let me update the necessary cells in the other workbook without having to activate the workbook and cells.

    Thanks

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Prevent Screen Updating

    No need to activate it:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    08-10-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: Prevent Screen Updating

    Thank you, it worked.

+ 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 ESC from Full Screen Mode
    By Orson100 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-19-2017, 05:03 AM
  2. Replies: 4
    Last Post: 01-23-2014, 07:05 AM
  3. How do I lock a screen to prevent scrolling?
    By raveepoojari in forum Excel General
    Replies: 5
    Last Post: 04-06-2009, 02:12 PM
  4. Macro - Prevent screen refresh
    By Bharath Rajamani in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2006, 06:20 AM
  5. Prevent Screen from flicking from one place to the next
    By skuzapo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2006, 10:57 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