About 286,000 results
Open links in new tab
  1. 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.

  2. 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 …

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

    Feb 27, 2016 · Dim DataObj As New MSForms.DataObject DataObj.GetFromClipboard But I've got this compiler Error at the first line of code: User-defined type not defined So I would like to add the …

  4. How to create MSForms ListBox in Worksheet using VBA?

    Jan 16, 2020 · With a MSForms.ListBox I can then change properties like ListBox.ColumnHeads = True (even though I don't know how to change the head value other than addressing the list values to a …

  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. 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 …

  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. Error using "MSForms.Control" type of variable - Stack Overflow

    Jan 31, 2023 · MSForms is a separate UI technology that can be used, for example, to create UI windows for Excel. You need to use the types Access.Control and Access.ComboBox instead.

  9. 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 …

  10. Excel UserForm dynamic TextBox control exit events

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