+ Reply to Thread
Results 1 to 4 of 4

Application.Screenupdating = False - not working

  1. #1
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2016 (Office 365)
    Posts
    137

    Application.Screenupdating = False - not working

    Hi all,

    Having some problems with some code that is no longer working as it should. Has been working fine for a while and suddenly it has issues. The workbook downloads a bunch of stock tickers from Yahoo and then formats the results. The original workbook was downloaded from Invest Excel and the sub that exchanges information with Yahoo came with the download. I have tweaked it so that it can download multiple tickers and then format in a way that I can do further searches through the data.

    Issue 1: It seems that Application.Screenupdating has stopped working. Initially I have a Application.Screenupdating = False and in the subs that are called from the main sub I do not have any Application.Screenupdating =True in them so it should not be set back to true until the end of the main sub. This is not occurring. Any suggestions?

    Issue 2: When I am downloading numerous tickers sometimes I get a random error, generally on one of these two lines of code:

    Please Login or Register  to view this content.
    which is in the main sub. The reason I use a paste special is because downloading form Yahoo attaches a lot of links to the data that I do not want and when you download multiple tickers rapidly increases the size of the workbook. This is why I also delete the Data worksheet when finished in the main sub, or:

    Please Login or Register  to view this content.
    in the delete columns sub.

    When I click ok to the message generated form either of these lines I get a DDL 'COMCTL32.DLL' could not be loaded msg and when I click ok to this I get an out of memory warning.

    I have been using this code for many weeks and it has been working fine so finding it very frustrating as to why it would cease to work.

    Any suggestions would be much appreciated.

    Cheers,
    Marcus
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Application.Screenupdating = False - not working

    For the 1st issue, I removed the
    Please Login or Register  to view this content.
    from you Worksheet_Change code on Sheet2(Tickers) and it stopped the screen updating. Not sure what's going on with your 2nd issue though.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2016 (Office 365)
    Posts
    137

    Re: Application.Screenupdating = False - not working

    Would never have found that! Thank you.

    Cheers,
    Marcus

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Application.Screenupdating = False - not working

    No problem.

+ 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. Application.Screenupdating = false not working
    By tanvi_kalra in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 01-30-2014, 09:55 AM
  2. Application.screenupdating = False is not working
    By gnome_core in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2009, 03:32 PM
  3. How to set Application.ScreenUpdating = False for Gen use
    By David_Williams_PG () in forum Excel General
    Replies: 1
    Last Post: 08-15-2006, 07:10 AM
  4. What can cause application.screenupdating=false to not work?
    By Doh97 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2005, 01:05 PM
  5. Using the Application.ScreenUpdating = False?
    By Susan Hayes in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2005, 12:06 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