+ Reply to Thread
Results 1 to 4 of 4

Workbook crashing with user forms on Windows 10 due to possibly FM20.DLL?

  1. #1
    Registered User
    Join Date
    08-25-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    30

    Workbook crashing with user forms on Windows 10 due to possibly FM20.DLL?

    Hi,

    I have an Excel workbook with macros and VBA code I was using in Office 2016 and Windows 7 fine.
    I'm now moving to Windows 10 and encountering strange behaviour.

    On Windows 10 with Office 2016, initially the workbook was being corrupted by Excel.
    It ketp saying it had found errors in the file whenever I tried to save it.

    I then saved the workbook as a standard xls file and then copied back in the VBA code bit by bit.
    It appears as if there is some kind of bug with Office 2016 / 19 and user forms on Windows 10.
    The error messages and crashes start occuring when I try to add back in a user form into my VBA project. However, Excel also crashes sometimes when I create a user form in a blank workbook.
    I've tried running the workbook on two different Windows 10 machines (32bit and 64bit).

    The error messages I'm getting include:
    "name conflicts with existing module, project or object library" and when I get this message, it keeps appearing on screen every time I click on the Ok button and have to terminate Excel via the task manager. There's nothing else I can do.
    "error loading dll" which appeared when I clicked on a form a few times
    "out of memory" which I get sometimes when opening the VBA editor

    I've searched online and think it may have something to do with the dll, "FM20.DLL". There doesn't seem to be any solutions that I've found.
    I've tried deregistering and reregistering it using the command prompt but it hasn't helped.

    I was using office 2016 but have just upgraded to office 2019 to see if there would be any change but am still getting the exact same behaviour on Windows 10.

    Any help would be appreciated. I'm not sure what else to do. The workbook opens and runs without any issues on Windows 7.



    Thanks

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Workbook crashing with user forms on Windows 10 due to possibly FM20.DLL?

    .
    Refer to : https://www.excelforum.com/excel-pro...dows-10-a.html

  3. #3
    Registered User
    Join Date
    08-25-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    30

    Re: Workbook crashing with user forms on Windows 10 due to possibly FM20.DLL?

    I am using Windows 10 64bit. Installing Ofice 2019 64bit seems to have solved the issue with the workbook being corrupted and error messages.
    Still not sure why I was getting the crashes.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Workbook crashing with user forms on Windows 10 due to possibly FM20.DLL?

    .
    Those are the hidden amenities provided by Microsoft.

    Glad you found an answer.

+ 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. Error in FM20.dll when inserting userform
    By Philipp Krause in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-17-2018, 02:12 PM
  2. Forms in Windows 10
    By gsandy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-01-2017, 04:55 PM
  3. New member - Windows Forms Developer
    By RobSherratt in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-17-2014, 07:40 AM
  4. Excel 2010 (Windows 7 Home Edition) crashing
    By micklloyd in forum Excel General
    Replies: 0
    Last Post: 07-14-2013, 01:01 AM
  5. How to Embed other windows in Excel VBA forms
    By prabumitu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-26-2011, 12:16 PM
  6. [SOLVED] VBA Forms in Excel crashing on exit?
    By Dom in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-06-2006, 06:20 AM
  7. Office Chart 10.0 on Windows Forms(.NET)
    By Alper AKCAYOZ in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-09-2005, 04: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