+ Reply to Thread
Results 1 to 12 of 12

Application.ScreenUpdating Not Work in Excel 2013

  1. #1
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Application.ScreenUpdating Not Work in Excel 2013

    Hello,

    I trying to run the code above in the office 2013, but the hidden sheet while processing does not appear. This code work fine in previous office.

    Can some one find whats wrong in this code.

    Thanks


    Sub Caixa()

    Dim myvalue As Variant

    myvalue = InputBox("P.f. introduza o número do vendedor")
    Sheets(".").Visible = True
    Sheets(".").Select
    Range("k5").Select
    Application.ScreenUpdating = False
    Sheets("Analise de clientes em rota").Select
    Range("h2").Value = myvalue
    Application.ScreenUpdating = True
    Sheets(".").Visible = False

    End Sub


  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Application.ScreenUpdating Not Work in Excel 2013

    Didn't test but try to activate sheet

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Application.ScreenUpdating Not Work in Excel 2013

    I kind a noob, what sheet?

    The sheet name is . (dot), and i supose i did it " Sheets(".").Activate "

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Application.ScreenUpdating Not Work in Excel 2013

    So does it work?

  5. #5
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Application.ScreenUpdating Not Work in Excel 2013

    In this office, the sheet while is doing something not appear, this code is a sample, but i need to use the same thing in a module of a lot of things.

    I just want, when a processing something, to the user see a blank sheet and after, show the result.

  6. #6
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Application.ScreenUpdating Not Work in Excel 2013

    Any news about screen updating this year?

  7. #7
    Forum Contributor kalbasiatka's Avatar
    Join Date
    02-27-2016
    Location
    Brest, Belarus
    MS-Off Ver
    2021
    Posts
    224

    Re: Application.ScreenUpdating Not Work in Excel 2013

    Try this example. In 2013 excel everything works.
    Attached Files Attached Files
    To do it for me and help me it is 2 different things!
    Sorry for my english, blame Google translator

  8. #8
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Application.ScreenUpdating Not Work in Excel 2013

    Hi, it kind of work.

    But in my case, when i use screenupdating, i want that the macro goes to a black sheet (for exemple), and do the stuff and after finished goes back to the start, like this one.

    Sub Caixa()

    Dim myvalue As Variant

    myvalue = InputBox("Please enter the number")
    Sheets("Wait").Visible = True
    Sheets("Wait").Select
    Range("A1").Select
    Application.ScreenUpdating = False
    Sheets("Clients").Select
    Range("h2").Value = myvalue
    Application.ScreenUpdating = True
    Sheets("Wait").Visible = False

    End Sub

  9. #9
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Application.ScreenUpdating Not Work in Excel 2013

    When i put this before screenupdating

    Application.Wait DateAdd("s", 1, Now)

    Somehow it works, but in other complex vba code does not.

  10. #10
    Forum Contributor kalbasiatka's Avatar
    Join Date
    02-27-2016
    Location
    Brest, Belarus
    MS-Off Ver
    2021
    Posts
    224

    Re: Application.ScreenUpdating Not Work in Excel 2013

    To do something on the sheet don't need to activate it or select.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    In my file it was for example, it was a pause )))
    I'm too lazy to make a file with the same sheets to check your code.
    Last edited by kalbasiatka; 03-16-2016 at 01:03 PM.

  11. #11
    Registered User
    Join Date
    03-20-2015
    Location
    Porto, Portugal
    MS-Off Ver
    Office 365
    Posts
    7

    Re: Application.ScreenUpdating Not Work in Excel 2013

    Yes, i know that.

    The data is in sheet Clients, the sheet wait is a black sheet with the message " Please Wait ", only to process the data until.

  12. #12
    Forum Contributor kalbasiatka's Avatar
    Join Date
    02-27-2016
    Location
    Brest, Belarus
    MS-Off Ver
    2021
    Posts
    224

    Re: Application.ScreenUpdating Not Work in Excel 2013

    Please Login or Register  to view this content.

+ 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. Why does my formula work in Excel 2013 but not-work in SharePoint 2013?
    By mkamoski in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-11-2014, 06:37 PM
  2. [SOLVED] VBA Application.EnableEvents and Application.ScreenUpdating
    By mcmunoz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2013, 10:24 PM
  3. Application.ScreenUpdating not working with Application.Run
    By WaqasTariq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2012, 02:24 PM
  4. Replies: 15
    Last Post: 12-09-2009, 08:46 AM
  5. 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

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