About 50 results
Open links in new tab
  1. VBA MSFORMS vs Controls - whats the difference

    Mar 17, 2013 · When adding controls to a userform, what is the difference between the following. I am confused as to when it is appropriate to use any particular one of these. Dim aButton1 as …

  2. excel - Are ActiveX Controls Disabled? - Stack Overflow

    Mar 10, 2023 · The MSForms.exd files are renamed every time the spreadsheet opens, even when there's no issue with the MSForms.exd files. But the spreadsheet will work just fine.

  3. vba - Implement Mousewheel in msforms.textbox - Stack Overflow

    Dec 1, 2018 · Implement Mousewheel in msforms.textbox Ask Question Asked 7 years, 3 months ago Modified 4 years, 11 months ago

  4. Excel UserForm dynamic TextBox control exit events

    Apr 18, 2019 · 2 Answers Sorted by: MSForms.Control defines the Enter and Exit events: if you need to handle TextBox.Change, then you need two WithEvents variables:

  5. Programmatically adding a commandbutton to a userform

    Private WithEvents mobjBtn As MSForms.CommandButton Private msOnAction As String ''// This has to be generic or call by name won't be able to find the methods ''// in your form. Private mobjParent As …

  6. Can't find Microsoft Forms 2.0 Object Library or FM20.DLL

    Feb 27, 2016 · You don't need Forms 2.0 to work with the Windows clipboard - use the Win32 API instead, see this thread on MSDN

  7. Excel VBA UserForm Tag Property - Stack Overflow

    Mar 10, 2022 · Private mControl As MSForms.Control Private Const DefaultBackColor As Long = -2147483643 Private Const InvalidBackColor As Long = vbYellow ' &HFFFF& Public Property Set …

  8. Adding controls to a frame in an Excel userform with VBA

    Jul 26, 2012 · I need to create labels and buttons dynamically and then add them to a frame within a userform. How do I do this? Seems like it should be easier than it really is.

  9. Create UserForm programmatically in the module using VBA

    I want to create a UserForm in the module using VBA programmatically. I am a novice and inexperienced so I have tried couple of examples, but they are not fulfilling my requirements. I just …

  10. excel - VBA .SetText and .PutInClipboard putting two symbols in ...

    May 14, 2019 · Dim clipboard As New MSForms.DataObject clipboard.SetText ActiveCell.Value Shell ("powershell Set-Clipboard -Value '" & clipboard & "'") Instead of using the VBA PutInClipboard …