Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-05-2015, 05:23 AM
gmayor's Avatar
gmayor gmayor is offline How do I code ListBox and DatePicker in UserForm? - Word 2013 Windows 7 64bit How do I code ListBox and DatePicker in UserForm? - Word 2013 Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The primary forms elements are contained in FM20.DLL. Set a reference to Microsoft Forms 2.0 Object library.

Occasionally some users have reported FM20.DLL missing or unregistered ( in which case you will not be able to set the reference).

If your PC is 64 bit (as most recent models are) then that file should be in the folder C:\Windows\SysWOW64, though it may be in C:\Windows\System32 in which case copy it to the other folder. You will then need to register it as described above (though you should register it as administrator).

Date pickers are a problem as invariable the OCX file will be unregistered and it must be registered on every PC. It will not work with the 64 bit versions of Office. I would therefore recommened using a VBA picker. I personally like Trevor Eyre's version which you can download from http://bit.ly/1ossyMA
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I code ListBox and DatePicker in UserForm? - Word 2013 Moving Selected Items from a Multiselect Listbox on a userform to a bookmark in Word marksm33 Word VBA 3 01-15-2015 07:55 PM
VBA Code in a UserForm module to delete a Command Button which opens the userform Simoninparis Word VBA 2 09-21-2014 03:50 AM
This is a Userform LIstbox queston: A variable does not set to the value of a listbox CatMan Excel Programming 14 08-18-2014 08:14 PM
How do I code ListBox and DatePicker in UserForm? - Word 2013 This is a Userform LIstbox queston: A variable does not set to the value of a listbox CatMan Excel 1 08-08-2014 09:41 AM
Userform Code not quite right - help please vbanovice Word VBA 1 09-29-2013 09:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft