+ Reply to Thread
Results 1 to 22 of 22

Can't insert a user form

Hybrid View

  1. #1
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Can't insert a user form

    I get the error message that it cannot register the component. Most of the help on line says "the component can't be registered."

    Then I went to my work machine and there is a Forms 2.0 Library. There isn't one on my home machine. Then I vaguely remembered something about a FM20.DLL that has to be browsed for and registered. I guess Microsoft wants to keep user forms a secret.

    I found out that you have to search for FM20.DLL. I found it in SYSWOW64 and registered it and got the same error message. I also found it in C:/ ...root\vfs\SystemX86 and when I registered it, it cross-lined back to SYSWOW64 so failed again.

    Is there another version of this DLL lurking out there, hidden somewhere? OR does anyone else have a solution for this "feature."

    I posted in the Microsoft Community, but there haven't been any responses yet. Otherwise I'll call Microsoft this weekend and have one of their technicians fix it for me.

    I have Windows 10 Home (64 Bit) and Office 365 (Home - 2016), 32 bit.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Can't insert a user form

    I'll just empathize with you. I hate tech glitches that can't be resolved with a little research. xl03 was much simpler and easy to work with.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Can't insert a user form

    Does any of the information or suggestions here help
    https://social.msdn.microsoft.com/Fo...l?forum=isvvba
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Thanks for the reference. It's 3 pages of different "solutions" and links to even more discussions. I've already wasted about 4 hours chasing rabbits down holes.

    I'm going to give Microsoft a call this weekend and have them tell me how to fix it. One good thing about a 365 subscription is that you get technical support. I'll post back with what they come up with.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Well, this was a great disappointment.

    I contacted technical support with a request for call back.

    Chris called me back and after explaining the problem to him, he told me that I had to be forwarded to someone else.

    So he forwarded me to a hold where I was eventually picked up by Mary (I think her accent was do bad I couldn't understand her). Who also couldn't help me, so she forwarded me to another hold queue, where I talked to John who could also not help me. So he forwarded me to another hold queue for commercial support where I held for 30 more minutes and eventually talked to Brandon who also was not an expert in this area.

    However, Brandon stuck with me and called experts and tried to resolve the issue. My phone battery went dead after two and a half hours and he called me back on my alternate line. He was the bright spot in this affair. After 2.5 hours we gave up and he forward me to yet another department where I was told that I had to *PAY* to have the problem resolved.

    I confirmed with the representative of this 5th department that I had to pay them to resolve a bug with their softwaer and they said, "Yes."

    So bottom line - Microsoft does not support its 365 product.

  6. #6
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    Hi dflak

    I had a similar issue a couple of weeks ago...Could not register FM20.DLL on a secondary pc...Windows 7 64bit, Office 2007 32bit
    Perhaps it was just luck but how I solved was to deregister then delete the Microsoft Forms DLL Application.
    I then took a copy off another pc re-registered and it worked perfectly...Not saying this could solve your problem...
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Can you give me some more details. What do you mean by "deregister then Delete the Microsoft Forms DLL Application." What steps did you take.

    Further investigation reveals that the issue is machine-related. I have 4 of my 5 Office licenses installed. My main machine has the issue but two of the three others don't. I haven't tried the 4th machine. All systems are on the April release of Windows 10.

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Can't insert a user form

    FM20.dll is a standard dll that ships with Office so should be present on any machine that has Office installed with VBA support.

    You haven't mentioned specifics of what you have attempted so far- have you attempted the full online repair of 365?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  9. #9
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    De-register
    c:\Windows\syswow64>regsvr32 /u Fm20.dll
    Then delete it from the Syswow64 folder
    Then copied from another working machine to faulty machines Syswow64 folder and registered
    c:\Windows\syswow64>regsvr32 Fm20.dll

    run cmd as administrator

  10. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Hmm, I thought I had responded to this one.

    Don: Yes I did run a complete online repair of office. Also the people at Microsoft tried installing various VBA programs. On my own, I copied over some DLLs from the good machines, put them in a "side" directory and attempted to register them. No matter what DLL I try to register, I get the same result. The Microsoft Forms 2.0 Library appears in the references, but I still cannot insert a form. The Forms 2.0 Library does not appear when next I launch Excel.

    @sintek: Do you think I may have a problem? The machine with the issue is 64-bit. However, the Office installation is 32-bit. Is SYSWOW64 the correct place to go?

  11. #11
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    Yes for 64bit syswow64 is the folder...

    Just for kicks register both 32 and 64

  12. #12
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    OK. I'll give this a shot when I get home tonight and see what happens. Thanks.

  13. #13
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    I attempted c:\Windows\syswow64>regsvr32 /u Fm20.dll and got the following message "c:\Windows\syswow64 is not recognized as an internal or external command operable program or batch file."

  14. #14
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    Hi dflak

    My apologies...just to clarify...
    Type cmd in search bar
    When cmd.exe command comes up, right click and run as administrator...
    The dos command prompt comes up as c:\Windows\system32>
    This must first be changed....
    Type cd c:\windows\syswow64
    Now the dos prompt comes up with c:\Windows\syswow64>
    Now you un-register...regsvr32 /u Fm20.dll
    Follow same procedure as above to register and then type...regsvr32 Fm20.dll


    My similar post same issues...xlnitwit got me through...
    https://www.excelforum.com/excel-pro...a-error-2.html
    Last edited by Sintek; 06-12-2018 at 02:58 AM.

  15. #15
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Yeah, I know better. It wasn't all that late, but I was tired. I am not blaming it on the wine I'll try again tonight.

  16. #16
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    Good luck, hope you get it sorted....

  17. #17
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Thanks for the help. However, it did not work out. I still get the same error.

    I wonder what it is about this particular machine. It works everywhere else.

  18. #18
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    Perhaps check out the link in post 14 and try post 9 within that link...and try what xlnitwit suggested regarding .box and .exd files...
    There should be .exd files (not .ext) in your temp folder if you are using the common controls, and there should also be an Excel.box file on your system. Are you including hidden files and folders in your search?

  19. #19
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Quote Originally Posted by sintek View Post
    Perhaps check out the link in post 14 and try post 9 within that link...and try what xlnitwit suggested regarding .box and .exd files...
    There should be .exd files (not .ext) in your temp folder if you are using the common controls, and there should also be an Excel.box file on your system. Are you including hidden files and folders in your search?
    I finally got around to trying this. I found only one .exd file: RefEdit.exd. I also found Excel.box. I deleted both of these and rebooted. It didn't help.

  20. #20
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    Fortunately, this is my home machine and I do not do a lot of development at home So I've been lazy at following up on the suggested links. I will report back when I conduct the tests. I did find out from the Microsoft Community that the correct DLL to use is the one in SYSWOW64.

  21. #21
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Can't insert a user form

    OK, this is what did work. I was so close with sintek.

    First I de-registered the DLL using regsvr32 /u FM20.DLL

    Then I copied FM20.DLL and FM20ENU.DLL from a 32-bit system and pasted them into SYSWOW64.

    Then I re-registerd using regsvr32 C:\Windows\SYSWOW64\FM20.DLL

    Note no /i flag that everyone else (except sintek) said you were supposed to use. And for some reason, the full path name.

    Anyway. It worked and it only took 7 months.

  22. #22
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Can't insert a user form

    Well done...better late than never lol

+ 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. [SOLVED] Last used row cell and insert data from user form
    By rob_h in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2018, 11:10 AM
  2. [SOLVED] Insert Address data into the next row down from a user form.
    By Mark Dynes in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-15-2017, 08:42 AM
  3. User form to Search Data and Insert
    By magnum4u in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2017, 11:16 AM
  4. Using a user form to insert a new row
    By Maddie77 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2016, 11:55 AM
  5. Insert a table into an Excel User Form
    By Blake 7 in forum Excel General
    Replies: 2
    Last Post: 09-25-2011, 01:24 PM
  6. User Form - Insert Row then Data
    By cooper1308 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-04-2009, 08:38 PM
  7. How to insert OLE chart into a user form?
    By thesaint in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-06-2005, 05:26 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