+ Reply to Thread
Results 1 to 2 of 2

Screen Updating Problem when using Buttons, Userforms, Macros in same Producedure

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    Oklahoma City
    MS-Off Ver
    2016
    Posts
    28

    Screen Updating Problem when using Buttons, Userforms, Macros in same Producedure

    I have built a database interface using Excel Userforms.

    Essentially my problem is that is appears that excel screen updating is turned off after the series of events finishes in my interface. I have googled this problem and I have only seen it asked a few times with no
    clear solution found. I will try to explain a flow chart of what is going on below.

    1.Sheet 1-contains a list of companies with a button in each cell that you can click on to open a userform
    2.Userform-asks which Access Query to Run for this company (i.e. revenue, products,)
    3.Macro-a macro that holds the access query code is called from this userform depending on which data the user wants to query
    4.Sheet 2-this sheet will be named Revenue or Products and contain the results from the Query

    Excel gets stuck at this point where I cant scroll up and down the page. It appears to be stuck in a screenupdating=False trance. If I unhide a hidden sheet, everything goes back to normal.

    Anyone have any idea where to start in getting this to work? I have tried to manipulate as much as I can and cannot get anything to work. From previous questions asked online, the problems appear to
    arise due to the fact that I am using a button that calls on a macro, using a userform and macro in the same series of events, selecting/hiding sheets. Also it should be noted that it is a general consensus that
    these problems did not arise until excel 2013.

  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: Screen Updating Problem when using Buttons, Userforms, Macros in same Producedure

    Can you attach a sample of the workbook with your code(s) and UserForm? Or maybe just the code that it's hanging on.
    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

+ 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. Replies: 4
    Last Post: 01-23-2014, 07:05 AM
  2. Adjust a Userforms Zoom based on screen resolution.
    By Baziwan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2014, 10:00 AM
  3. Macros with buttons, spin buttons, scroll buttons, etc.
    By qqbbppdd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2013, 09:34 AM
  4. Using Userforms with and without a dual screen
    By FRIEL in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-02-2012, 09:01 AM
  5. Making Userforms appear in the middle of the primary screen
    By tenk283 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-16-2010, 04:13 AM
  6. Position Userforms on the Right Hand Side of screen
    By ben_patto in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2009, 01:10 AM
  7. Screen Updating with Userforms
    By RobynC in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-02-2007, 04:29 AM
  8. Replies: 2
    Last Post: 02-19-2006, 10:55 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