+ Reply to Thread
Results 1 to 4 of 4

The screen gets crazy and doesn't refresh properly and the calculation method turns manual

  1. #1
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Thumbs down The screen gets crazy and doesn't refresh properly and the calculation method turns manual

    Hi all

    I am in a big (at least for me) project for a NGO upgrading a tool to forecast. To make everything simpler I basically collate data from 600 tables in different sheets. Everything goes to 'tChannelsCollation' which is a master table from where I want to build pivot tables.

    I don't know what happened or what I did but the screen started to flicker and not refresh. It was like the sheets were temporally overlapped and everything looked a mess. At the beginning after scrolling up or down was fine but got worst.

    I tried several things looking in the internet and I realised that the calculation method were turning manual all the time after I execute the following Macro (which is the main one and can be executed from "HOMEPAGE")

    Please Login or Register  to view this content.
    I completely lost the compass. I hope you can help me out with this. Just in case you need to see the workbook you can download it here. I didn't attach it because it's around 12 MB (I don't know neither how it got from one moment to other so big)

    Please Login or Register  to view this content.
    Beside all this I have had another issue (I think it's not connected to the previous ones). Every time I save as... with a new name all references in the pivot tables keep static to the previous file. I read in some forums that this was a bug in Excel 2013. Is it right? How do I solve this out?

    Summarising:
    - Screen gets crazy refreshing and sheets and are seen overlapped after I manually change the calc mode to automatic
    - Calculation method is changed to manual after execution of macro Extractor
    - Pivot tables keep static the source with references to previous files when saving with a new name

    Last but not least, despite my desperation to find an answer I need to apologise because I have been crossposting without knowing that this was inconsiderate. Here it's the link from the other forum http://www.mrexcel.com/forum/excel-q...ns-manual.html.

    Many many thanks.
    All the best,
    Gerónimo
    Last edited by gerotutu; 08-03-2015 at 05:18 AM.

  2. #2
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Re: The screen gets crazy and doesn't refresh properly and the calculation method turns ma

    Dear folks,

    Here are some print screens of the issue I am having.

    I have realised that you will only be able to detect it if you, after download the file
    1. turn calculation mode to automatic
    2. click load button and wait a minute until the macro Extractor finishes
    3. check that calculation mode turns manual, turn it automatic again and play with something like a drop down list for example

    After that it keeps crazy and the screen is never refreshed properly again.

    Here are a couple of images to illustrate the issue. The first image shows how the sheet is, the second one the mess (it's the same sheet)

    how it should look like the HOMEPAGE.png

    or like this.png
    Last edited by gerotutu; 08-03-2015 at 07:52 AM.

  3. #3
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Re: The screen gets crazy and doesn't refresh properly and the calculation method turns ma

    I realised that the code never turned the calculation mode to automatic because of the error handling. I commented those lines and ordered them in a different way.

    Don't know how to use error handling or why is getting that error. Could this be a clue of the other issues? At least I could solve out one of the three issues having.

    Still need to find out what happened to:

    - Screen gets crazy refreshing and sheets and are seen overlapped
    - Pivot tables keep static the source with references to previous files when saving with a new name

    Here is my updated macro

    Please Login or Register  to view this content.
    Keep looking forward for help.
    All the best,
    Geronimo

  4. #4
    Registered User
    Join Date
    06-19-2015
    Location
    Bogota
    MS-Off Ver
    Officce 365
    Posts
    54

    Re: The screen gets crazy and doesn't refresh properly and the calculation method turns ma

    I solved one more issue. Maybe helps to share it. Here it is the solution:

    I didn't seen any real resolution that was simple on this thread so I'm posting. This method seemed to work for me.

    In Windows Explorer, right-click on the file and select copy. Then Paste into the same folder. A new file will be created as 'filename COPY'. You can then just re-edit the filename as desired there (ie. with a new date). You can then update whatever data tables you have and the pivot tables will be referencing those tables internal to that document and not the old file.

    Thank goodness that worked!

    Hope it helps anyone else out there!

    Phil
    Source: https://social.technet.microsoft.com...&prof=required

    I still don't know hot to solve the problem with the screen refreshing. I know that's related to the macro I am executing because it only happens after it and as I wrote, there is an error during the execution that I can't find. This line is actually executed "On Error GoTo errHandler". What error? don't know.

+ 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. Screen updating turns itself on during/after Application.Run ATPVBEAN.XLAM
    By an531 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2017, 10:47 AM
  2. manual calculation for one worksheet by F9 and auto calculation for other sheet
    By rayshimadri in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2013, 06:16 AM
  3. Replies: 4
    Last Post: 07-23-2013, 07:51 AM
  4. Replies: 4
    Last Post: 12-12-2012, 06:45 AM
  5. Why does screen move when first row of code turns movement off
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-16-2011, 04:52 PM
  6. First result doesn't show up - drives me crazy
    By floep in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2006, 10:34 AM
  7. Why QUIT method doesn't work after COPY method?
    By surotkin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2005, 11:32 AM
  8. It doesn't add up - It's driving me crazy
    By Francis Hayes (The Excel Addict) in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-28-2005, 08:06 PM

Tags for this Thread

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