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 Asked 7 years, 2 months ago Modified 4 years, 11 months ago Viewed 3k times

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

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

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

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

  10. excel - Get text from clipboard using GetText - Stack Overflow

    I'm using code like this to get text from off the Clipboard. Dim DataObj As New MSForms.DataObject DataObj.GetFromClipboard myString = DataObj.GetText I use error ...