Problem closing userform in Excel 2010

I've got a spreadsheet that has a series of control buttons to call various userforms which have similar formats for data entry.The first one works fine. The second one works until I try and close out of it with a cancel button. Then I get a Run time error
91 after the form has closed. The macros are very simple and I cannot work out where I'm going wrong. Any help gratefully received. The code below is the only code that uses UserForm2 and the error shows for Sub Pork().
Button Code:
Sub Pork()
    UserForm2.Show
End Sub
Form Initialise Code:
Private Sub UserForm_Initialize()
    UserForm2.Show
End Sub
Form Close Code:
Private Sub CommandButton5_Click()
    Unload Me
End Sub

Hi,
This is the forum to discuss questions and feedback for Microsoft Excel, this issue is related to Excel DEV, please post the question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.

Similar Messages

  • Can´t find my userform in Excel 2010

    Hello to all!
    I need help! I created a very big userform for a survey in an Excel 2010 worksheet. I created a small macro so it will load my userform. I created a new group in the Toolbar and added a button that called the macro. It worked great. I closed the worksheet,
    closed my computer.
    Today, I am opening my worksheet now and I do not find my userform!  I click the button and it doesn´t work.  I go to VBA and can´t find my userform. Please help!
    Thank you.

    There was a VBA bug but it was fixed around SP2 time. It might have been after, so update with latest updates as well. In the men time I suspect you've lost your userform unless windows has kept a version in the background.
    In Windows Explorer right click the file and select Properties. Check the previous versions tab.
    With UserForms I've learnt to keep a copy in a file I never run. After updating I copy to another file to test :-(
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Scroll Problem in Page Layout - Excel 2010

    I have numerous worksheets in a workbook.  Only one worksheet has the problem.  All are in Page Layout view.
    On problem sheet, when I scroll down from the top of the first page (where it opens), at the visual page break, the top of the first page re-appears (at the bottom of the screen).
    Both pages move up the screen as I scroll down with mouse wheel or bar on right of screen.  Until I can only see the last row of the first sheet (at the very top of the screen).  As I try to keep scrolling down, the duplicate first page stays in
    place and only the row number and information changes in the one row I see at the top of the screen.
    When I look at the page number, there are 174 pages when there should be 4.
    In View, Window, the "Freeze Panes" icon is grayed out, I cannot select/unselect it.  i didn't try to freeze any panes/rows/columns.
    How do I unfreeze this sheet? Help!

    Hi Francis,
        This way you should press page down every 9th time(Assuming that you have 10 lines in the table control.
    count = 1.
    loop at <your item table>.
    if count = 9.
    preform BDC_DYNFIELD using 'BDC_OKCODE' '<Fcode for page down>'.
    count = 1.
    endif.
    YOur regular code to fill the table control
    count = count + 1.
    endloop.
    REgards,
    Ravi

  • Excel 2010 - Userform - VBA How to stop 'Job No' from duplicating itself on next empty row

    
    Hi there
    Thank you in advance for taking the time to check this out.
    Objective:
    To prevent duplication of incident numbers in the datasheet, and format the job number with a prefix of
    Inc- at the beginning. I currently have the cell customization set to “Inc”General but that only inserts the prefix in the cells on the datasheet, but is not showing in the disabled textbox in the userform.
    The Problem
    I have a ‘Job Number’ that is generated each time the form is opened and when the ‘Save’ button is clicked the data from the form is transferred over
    The job number is generated from the previous entry +1 (auto incrementing the old fashioned way).
    The problem arises when the ‘Save’ button is pressed repeatedly, the same job number and data is duplicated on the datasheet.
    Is there some way to ensure that the number generated is unique, and if the ‘Save’ button is repeatedly pressed that it will just over-ride the existing information?
    The number format currently used is 20150003 (incremented by 1). But what I’d like to be displayed in the form is
    Inc- 20150003
    The following code is in the form_initialize procedure.
    Me.txtSEC_INC_No.Enabled = True
    Dim irow As Long
    Dim ws As ws_Incident_Details
    Set ws = ws_Incident_Details
    'find last data row from database'
    irow = ws.Cells(Rows.Count, 1) _
    .End(xlUp).Row
    If ws.[a2].Value = "" Then
    Me.txtSEC_INC_No.Text = 0 ' If no value in Col A, it will return a 0
    Else
    Me.txtSEC_INC_No.Text = ws.Cells(irow, 1).Value + 1
    End If
    I’d be really grateful if someone could help me out, or perhaps direct me to where I might find some coding that will achieve the result I am seeking.
    I have just uploaded the latest version
    My Sample form is linked to my Dropbox so you can see how it currently works (or doesn't work)
    With much gratitude,
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

    I am striving to improve my VBA but ... I am far from anywhere near in understanding the code that you have in your file. I feel really bad in saying that, but I am not a pretender, and will acknowledge when I am over my head.
    I was thinking "simplified" :) ...
    Don't worry, also Rom wasn't build in a day. :-)
    I already answered the question about the duplication of the Job number in this thread:
    https://social.msdn.microsoft.com/Forums/de-DE/52f3c62f-b26e-4573-b7c2-8e7203786d7f/excel-2010-vba-userforms-vlookup-via-textbox-display-result-in-another-textbox?forum=exceldev
    So let us talk a little about the TAG property, thinking "simplified" and how to save the data:
    Most people start with code like this when they start there first Userform:
    Cells(MyRowNumber, 1) = txtBoxA
    Cells(MyRowNumber, 2) = txtBoxB
    etc. many many lines till
    Cells(MyRowNumber, 56) = txtBoxWhatEver
    And then, after Version 1.0, they realize that they also want to load data from a row into the form. And they copy all the lines and exchange
    the parts before and after the
    "=" like this:
    txtBoxA = Cells(MyRowNumber, 1)
    txtBoxB = Cells(MyRowNumber, 2)
    etc. many many lines till
    txtBoxWhatEver = Cells(MyRowNumber, 56)
    And maybe you have another 56 lines to "clear" the Userform, and maybe more lines... over 150 lines just for this... that is really tremendous.
    I will not be
    too harsh,
    if it works, then
    it's okay.
    But often many people struggle when they look into the code because, which column in the sheet is written by this line?
      Cells(MyRowNumber, 56) = txtBoxWhatEver
    I've often seen that people change the code to this:
      Range("A" & MyRowNumber) = txtBoxA
      Range("B" & MyRowNumber) = txtBoxB
    etc.  till
      Range("BD" & MyRowNumber) = txtBoxWhatEver
    which is more clearly, but you must revise
    150 lines!
    And that is the point for the TAG property, which is in fact just a string. So when we write the column name ("A", "B", etc.) into the TAG property of a control, you can change the code to this:
      Range(txtBoxA.Tag & MyRowNumber) = txtBoxA
      Range(txtBoxB.Tag & MyRowNumber) = txtBoxB
    etc.
    And now the 1st trick, we can use a loop and visit all controls at once:
      Dim C As MSForms.Control
      For Each C In Me.Controls
        If C.Tag <> "" Then
          Range(C.Tag & MyRowNumber) = C
        End If
      Next
    And when we want to load data from a row into the form, it's the same, just the other direction:
      Dim C As MSForms.Control
      For Each C In Me.Controls
        If C.Tag <> "" Then
          C = Range(C.Tag & MyRowNumber)
        End If
      Next
    And to clear the form is also the same:
      Dim C As MSForms.Control
      For Each C In Me.Controls
        If C.Tag <> "" Then
          C = ""
        End If
      Next
    So we can remove over 150 lines and do the same with just the 18 lines above.
    Isn't that a simplification?
    Think about that for a while.
    Ready for the next trick? ;-)
    As the TAG property is readable and writeable we can use Sub UserForm_Initialize and save a lot of manual work:
    Private Sub UserForm_Initialize()
      Me.txtBoxA.Tag = "A"
      Me.txtBoxB.Tag = "B"
      'etc. till
      Me.txtBoxWhatEver.Tag = "BD"
    End Sub
    No time to waste,
    here comes the next one. ;-)
    In your file, you can have named ranges, but always have headings! And so we can get the column name e.g. from a named range:
      Me.txtBoxWhatEver.Tag = GetColumnName(Range("WhatEver"))
    Function GetColumnName(ByVal R As Range) As String
    Dim S As String
    S = R.Address(1, 0)
    GetColumnName = Left(S, InStr(S, "$") - 1)
    End Function
    Or you can use Range.Find and search for the header int the sheet and get the column name directly.
    The benefit is that your form works even when the user change the layout of the sheet!
    Simple
    as it gets
    (almost).
    Andreas.

  • Duplex printing problem in Word 2010 but NOT in Excel 2010

    At the risk of repeating an old question :
    I have  Windows 7 Pro, Office Professional 2010 and an HP Officejet Pro 8600 Plus and two sided printing is a problem in Word.
    Excel prints in Duplex by selecting "Print on both sides / Flip pages on short edge".
    Word, though, with the exact same Setting, fails and the document is printed one two sheets of paper ... one side only.  Seems rather bizarre.
    Help would be appreciated.
    Neil

    Hi,
    Which Word 2010 version do you use? Please try the Word 2010 14.0.4760.1000 version(We may upgrade or downgrade the version by install or uninstall the patches).
    Next, we may try the workarounds which provide by other communicators, I copied here:
    Workaround1:
    File then Print
    Go ahead and select manual print on both sides
    Go to page setup, print options, and the advanced tab. Go all the way down and select "Print on the front of the sheet for duplex printing."
    After printing the first set, I was able to just turn it 180 degrees and it worked just fine.
    Workaround2:
    As a work around I found if I ignore Words "Settings" and instead go into my printer properties, select the Finishing Tab, and select "Print on Both Sides (Manually)", the document will duplex print correctly.  Requires 5 steps instead of 3
    Quote From:
    http://social.technet.microsoft.com/Forums/office/en-US/b948525f-be7e-453c-9477-8a467852d360/duplex-problem-in-word-2010?forum=word
    Regards,
    George Zhao
    TechNet Community Support

  • Problem with solver DLL load and Excel 2010

    Since upgrading from Office 2007 to Office 2010 we've started to experience a problem with the solver addin when our own analytics addins is also loaded. I have found a solution, but I think it may highlight a problem with the latest version of the solver
    addin for Excel 2010.
    Firstly, to describe the problem - the solver addin seems to load normally when Excel 2010 starts up, however when a "Solve" is performed we are seeing a "File not found: Solver32.dll" error at the final "Keep Solver Solution" stage. This only happens our
    own analytics addin is loaded. We've been careful to make sure that our own addin does not change the working directory and also that it has been built against the correct Excel 2010 SDK libraries. We do not see this error with any other versions of Excel
    running on the same PC or any other environment.
    After some searching we found other people were having similar problems and after a bit more probing I found a solution that works - but that I'm not very happy with.
    If I copy the Solver32.dll from:
      C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER
        (where it was installed)
    into :
      C:\Windows\SysWOW64 
        (where Windows 7 keeps its 32 bit system DLLs)
    then the problem goes away.
    This seems to indicate that somehow Office 2010 has a problem that causes it to search in the wrong folder for the Solver32.dll when another addin is loaded in between the original Solver32.XLAM at start up and the use of the Solver in the sheet (which eventually
    requires this DLL to be loaded). Oddly, this only happens after a solution is found and "Keep Solver Solution" is selected - and I'm not sure why it's not looking for Solver32.dll any earlier.
    This is not a problem with any earlier versions of Excel and I suspect is a bug in the Office14/LIBRARY/SOLVER implementation. Is there any way to get this followed up?
    Thanks,
    Andy

    I'm facing the same issue. With an Excel VSTO add-in we're building. When the add-in is enabled the assembly solver32.dll can't be found. With our add-in disabled the DLL is resolved as (Sysinternals Process Monitor trace):
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\system\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER\SOLVER32.DLL
    and with our add-in enabled the following locations are tried, but solver32.dll won't be found:
    excel.exe CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    excel.exe CreateFile
    C:\ArcGIS\______path to our add-in install location_____________\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\system\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Program Files\Common Files\Microsoft Shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Program Files (x86)\Common Files\microsoft shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\wbem\Solver32.dll
    etc...

  • Problem with pivot tables connected to SSAS 2008 R2 in Excel 2010: "Excel found unreadable content in ' file_name '..."

    Hi,
    I have such problem when I open in Excel 2010 14.0.7128.5000 (32 bit) a xlsx-file containing pivot tables and slicers connected to SSAS 2008 R2 cube:
    - Excel found unreadable content in '...'. Do you want to recover the contents of this workbook? If you trust...
    And this text after clicking "Yes":
    Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition2.xml part (PivotTable cache)
    Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition3.xml part (PivotTable cache)
    Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)
    Removed Feature: PivotTable report from /xl/pivotTables/pivotTable3.xml part (PivotTable view)
    Removed Records: Workbook properties from /xl/workbook.xml part (Workbook)
    What may be the reason?
    It has become a regular at some point for files created in Excel 2013. But this file was created in the same excel in which I try to open this file.
    Thanks for help in advance.
    Best regards,
    Nikolay

    Hi,
    The whole error message like this:
    "Excel found unreadable content in '<<var>File name></var>.xls'. Do you want to recover the contents of this workbook?
    If you click Yes in the error message, the file cannot be opened as expected."
    Please try the following methods and check they are helpful:
    1. Install the hotfix for Excel 2010.
    http://support.microsoft.com/kb/2544025/en-us
    2. Installing the 'Visual Basic' component of MS Office 2010
    'Navigate to 'Control Panel >> Programs' -> select Microsoft Office 2010, and then click 'Change >> Add or Remove Programs' -> at the bottom of this list, click the 'plus' sign provided next to Office Shared Features -> click Visual
    Basic for Applications -> After that, right-click and choose Run from My Computer ->  click Continue'. 
    3. Run as administrator
    4. Go the file in Windows Explorer, right-click on the file, select Properties and at the bottom there's an area called Security, click on Unblock.
    Regards,
    George Zhao
    TechNet Community Support

  • Problems with exporting PWA views (grids in general) to Excel 2010 with Windows 8 + IE 10 as a client configuration

    Hello,
    I wondering if windows 8 + IE10 is a supported client configuration for PWA (Project Server 2010). I am unable to export PWA views to Excel 2010. No problems with Windows 7 + IE8/9
    Any ideas?
    thanks,
    Daniel
    Daniel Villacis

    Hi,
    We followed the below steps in the local machine and check the behavior.
    a. Open the Windows registry editor (regedit.exe)
    b. Go the location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\excel.exe
    c. Here, you’ll see a string value named “useURL”
    d. Rename this value to something else.  For example “useURLx”
    Note: You might have to restart the machine to apply the registry change to take effect.

  • Problem: Excel Add-in with Excel 2010

    I recently installed the essbase spreadsheet add-in onto Excel 2010 and it worked fine,(previosuly there was 9.3.1 Excel add-in and i removed and installed Excel add-in 11.1.2.2) but after some days it is giving beolw messgae:-
    Excel experienced a serious problem with the 'c:\hyperion\analyticservices\bin\essexcln.xll' addin. . . .Do you want to disable this add-in?
    Has anyone else seen this error, know of a work around or whether a new version is in the works?

    This generally happens if your excel gets crashed due to some reason / your system gets force shutdown. As suggested above, you can enable it.
    Note: When you get that message to disable, do not click yes.
    Regards
    Amarnath
    ORACLE | Essbase

  • Excel 2010 temp Files do not delete on network share automatically when closed *Word 2010 do!*

    Hi,
    saw this post in similar Versions but never with a "cool solution" :)
    We got NetApp 2050 as Filer in a Windows Server 2008 R2 Domain with Windows 7 Clients and Office 2010 Pro Plus, all up to date with WSUS.
    If I open an Excel 2010 sheet on the Netapp Share or a Share on the Domain Controller and close it, it do not delte the temp file.
    Same to PowerPoint 2010.
    But with Word 2010, this works!
    Therefor I don't think, this will be the NTFS permissions or Network issues.
    We also got VMware Clients with Windows 7 and Office 2010. There the issue does not occure!!!
    May be something in Group Policies? Could it be some Microsoft Updates?
    I'm very interested in your opinions...
    Best regards...

    Hi,
    As far as I know, the issue usually caused by the anti-virus actively scanning Excel files (XLS, XLSX, or XLSM files). Please try to make the anti-virus to not actively scan Excel files.
    Then, if you are using Kaspersky 2009, I recommend we try the below method:
    Go to Run>Regedit>Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KLIF\Parameters>Create the key  NonCachedIo (Type: Dword Value:1)
    Next, some other customer solved the issue by turning off the index with the effected folders.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Problem with printer list in Excel 2010

    I am using Windows 8.1 and Excel 2010.  One of my printers is listed twice with slightly different names in the choice of printers when I go to print an Excel spreadsheet.  That same printer is shown only once (and by one of the names used by Excel)
    under "Devices and Printers" in the Control Panel. 
    How do I get the Excel list to duplicate the printers listed under "Devices and Printers", and thus delete the second listing of one of my printers.

    Hi,
    According to your description, my understanding is that Excel 2010 displays duplicate entries of the same printer in printer list. If it is right, this issue might be caused by the third-party program
    interfere with the printer agent driver and Office, such as encryption software, the other customer solved it by remove the third-party program. Please see the similar issue:
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/fbcac3c3-c389-45c8-be80-1cf19f044250/office-2010-displaying-duplicate-entries-of-the-same-printer
    I recommend we run Excel with
    Windows clean boot to test.
    Then, we could check if there are residual information with
    registry key.
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
    Please note: Backup the key before modify/delete
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Problem accessing informix ODBC 32 bit System DSN using Microsoft Query external data sources in Microsoft Excel 2010

    Hi all...
    I'm hoping if anybody could help me. I'm using Microsoft Excel 2010 + Windows 7 Professional 64 bit. I've installed the informix client sdk for odbc drivers to create odbc 32 bit connection. Before this, i had successfully installed in
    another Windows 7 Professional 64 bit PC the informix client drivers and configured the odbc connection for it. During that time, i can access the 32 bit ODBC using the microsoft query from the Microsoft Excel 2007. But now...in the new PC, even though i had
    successfully installed the informix client and manage to configure the 32 bit ODBC for it, my Microsoft Excel 2010 can't call/recognise the 32 bit ODBC connection as if the Microsoft Excel 2010  only called the 64 bit ODBC. Is it in Microsoft excel 2007
    it is possible to recognise the 32 bit ODBC but the Microsoft Excel 2010 can't? Is there any solution if my Microsoft Excel 2010 still want to use the 32 bit ODBC connection.

    Hi,
    Excel 2007 has only 32-bit since 64-bit applications for Office are available only for Office 2010. Thus, you can use
    32 bit ODBC between Microsoft Excel 2007 & Windows 7 Professional 64 bit. Now, you are using Microsoft Excel 2010 64 bit & Windows 7 Professional 64 bit, thus, you must install the 64 bit ODBC drive. If you still need to use 32
    bit odbc drive, please use 32 bit Excel 2010. Here is the detailed steps:
    http://datasummit.co.za/how-to-install-an-informix-odbc-driver-on-windows-7-for-ms-office-2010
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Need help taming the DTPicker control in Excel 2010

    I've created a workbook application in Excel 2010 (32 bit). 
    The application loads data from another workbook, which has an arbitrary number of rows of date-time stamped data in an arbitrary number of columns.  On one sheet I have DTPicker controls for the start date and the end date of the range of
    data it will use to generate charts and summary tables via macros.
    Everything works fine on my computer, but when I deploy it to users the code breaks the first time it tries to interact with the DTPicker controls.  All the data loads in fine, but when it tries to use the extremes of the data range to set the mindate
    and maxdate properties of the DTPicker, it fails.  The extremes are date-time values; problem seems to be accessing the control.
    Tests on another machine indicate that the control can be selected, and the name in the formula bar matches what I have on my development PC.  But the space inside the control looks like a garbled image instead of a date in a dropdown, and when the
    user tries to access the properties of the control in design mode, the worksheet properties appear instead.
    The garbled image appeared to be an issue on my PC at first as well, if the file was saved and reopened. That was addressed using a suggestion from another developer that opening and closing another file (for some unknown reason) after the workbook was opened
    would eliminate the problem (which it did on the development PC).
    I am looking for a solution that provides a familiar calendar pop-up and constrains date selection to the range included in the current data set (which also may get overwritten during use, with corresponding reset of the limits).
    I would like the solution to be portable such that user don't need to register controls or do anything other than open the workbook and run built-in macros. I believe most of the users will have a version of Excel that matches the development PC's, but I
    may also need a version checker and code branches that provide the correct functionality using the method applicable to their version. If there are certain versions that the DTPicker control will not work with, I need to know so that I can include that information
    in the instructions or error handler messages.
    Can this be accomplished using the DTPicker control? Or is there a "best" workaround using alternate controls that can be explicitly defined via a userform and underlying code, which activate when the user hovers over or clicks on a date control?

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Excel, the issue is related to the Excel dev, I recommend you post the question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Excel 2010 - Hidden Dialogue Boxes

    Has anyone seen this before?
    User creates a workbook in Excel 2010.
    User clicks File | Save & Send | Send as Attachment.
    User successfully emails the saved workbook to somebody.
    From that point on, for that instance of Excel, dialogue boxes, prompts, warnings, etc., are hidden (e.g., File | Save As whether by menu or hitting F12, File | Open whether by menu or hitting CTL-O, or the user attempts to close out of it but Excel is
    still prompting the user to save or not, etc.)  Because all these things have lost focus and are behind the Excel instance, the user assumes Excel has frozen, goes into Task Manager, kills the Excel process, curses under his breath about IT, etc.
    We are currently running:
    Windows 7 Ent, SP1, x64.
    Office 2010 Pro Plus, x86 - specifically Excel 2010 (the above for example, does NOT happen on Word 2010).
    We successfully reproduce this problem each time using the above sequence.  We are on the latest SPs, updates, hotfixes, for everything via WSUS.
    We also disabled/removed any Add-ins and that did not make a difference.
    For kicks while the above probably would've accomplished the same, we tried the above in Excel safe-mode and again, if you follow the above sequence, it keeps occuring.
    Help?
    Thanks!

    Oskar:
    Thank you for the suggestion. I tried and thought it worked. There is one wrinkle that we didn't realize.
    If we Save & Send, while Outlook is closed, the system will allow Outlook to have a new message created and allow us to send the email.  However once the send is complete, the Outlook process exits.  When we try to do something in Excel everything
    is FINE.
    However, if Outlook is open and we repeat the process in Excel, then Excel exhibits the same behavior where after the message is sent, that particular instance will have all future windows, warnings, pop-ups, etc., remain hidden and out of focus.
    Help?
    -Dave

  • Excel 2010 not gaining focus correctly

    I am seeing this on my own workstation, but I'm being asked about it by more and more clients lately - Excel 2010 seems to have odd focus issues. For example:
    a) When opening an Excel spreadsheet from Windows Explorer, Excel opens, appears to have focus and does correctly open on top of other open windows, displays the file and I can edit cells, but I cannot click anything in the Ribbon bar or menus. In order
    to gain access to menu items I first have to lose focus (by clicking to another open application, the Task Bar or Desktop - anything that takes focus away from Excel) and then click back into Excel, whereupon the menu items now work correctly.
    b) If Excel is already open and I open another Excel file from Windows Explorer, the new window isn't brought forward - it remains behind the previously open spreadsheet. In addition, Excel isn't given focus at all in this situation - it is retained by Windows
    Explorer (which may or may not be open on the same screen as Excel, although it's more obvious if they overlap as Excel clearly remains behind the Explorer window). Additionally, if all existing spreadsheets are closed but Excel remains open and I open a spreadsheet
    from Explorer, the same behaviour occurs (ie Excel fails to gain focus and it is retained by Explorer).
    My personal workstation is running Windows 7 Pro x64 SP1 (this behaviour was evident before SP1's release) and Excel 2010 version 14.0.4760.1000 (32-bit). I have seen it occuring on other PCs using both 32- and 64-bit versions of Windows 7 Pro and Excel
    2010 (all 32-bit). While the workaround is relatively simple, it's still frustrating (and more than a little confusing for many non-technical people - one of my clients has been frustrated by this for weeks before I discovered she was experiencing the issue).
    I find it a little strange that I have been unable to find references to this problem anywhere (and I've been looking on-and-off for several months now). Maybe I'm just looking for the wrong things... Any help that can be provided will be greatly appreciated.
    Trevor Hardy

    I'm really not sure about the ethics of people being able to mark their own replies as accepted answers on here...
    Jennifer, thank you for attempting to assist with this problem. Unfortunately your suggestion doesn't alleviate the issue.
    As I thought I made clear in my first post, this issue is being seen when opening Excel spreadsheets directly from Explorer (or a desktop shortcut or similar, which is just an Explorer instance anyway) - it doesn't occur if you open files from within Excel.
    Therefore, opening Excel in Safe Mode has no effect - you can open one instance of Excel in safe mode, but when you open another Excel file from outside Excel, of course it opens another instance of Excel in normal mode and the same symptoms are evident.
    However, your suggestion regarding add-ins was a sensible one, so I manually removed the two Adobe Acrobat add-ins that were active on my workstation (the only add-ins installed) but unfortunately that hasn't made any difference. I should also point out
    that these add-ins aren't installed on the other PCs that are experiencing this issue, either, as they are used in wholly different environments.
    I'll be setting up Office 2010 on some new PCs in a couple of days, so I'll do some testing of those to see if I can replicate it on virgin systems.

Maybe you are looking for