userform

  1. F

    Resize userform - in increments

    This is very useful code to resize userform dynamically, from Andy Pope. Anchor controls Is it possible to resize form, in steps or increments. In the vertical direction only. Say in increments of 24.
  2. E

    I have 1 UserForm and want to save to different sheets in the same workbook

    Hello all, I think this topic has been discussed in many posts here and other forums. I'm sorry for the Clickbait (for some), however, I was unable to solve my problem.... I have a workbook to register my expenses, so I have a Sheet for every month of the year: so, first sheet is for January...
  3. J

    UserForm frozes on other computers

    I created a UserForm that stores 15 fields into a worksheet. This UserForm has functions like opens a ListBox with all the records, filter the records, edit the records, etc. When I run the UserForm everything is fine and it runs smoothly. But I'm having a problem that when my coworkers try to...
  4. F

    Userform edit multiple textboxes at the same time

    Is it possible to write to multiple textboxes at the same time. For example: 1. Select first text box (say TextBox2) 2. Something like: Hold "Shift" and select last text box (say TextBox7) 3. Write Number, say 9
  5. C

    Tab Selection from Userform based on Date range

    Hello all, I am working on a monthly tracker for work where I have a userform that allows the user to enter data. My last goal with this is to select a month tab based on entered data in the userform. For context, right now I have to manually select the month I want to enter the data to, then...
  6. F

    Making a UserForm behave as a Tool Window for another process

    Hello I have followed @Jaafar Tribak 's excellent work in Display Userform in TaskBar with custom Icon and Hide Excel (mimicking a standalone application) to make a userform that appears as a standalone application. It's connected to an instance of SolidWorks through its VBA api. By running the...
  7. N

    Infinite loop slideshow

    I would like to create an image slideshow that loops through all the images in all the subfolders in thisworkbook.path with a fade in effect for each image and a 5 second timer delay between each image in an excel userform. I searched in copilot and I have some code, but it currently gives me...
  8. T

    VBA Stuck Sanitising Several Sheets

    Hi All, I have been stuck thinking of a way to implement a "Sanitise Sheet" macro for one of my template and was hoping to crowdsource a couple of ideas. The mission, should you choose to accept, is to have a macro assigned to a button which creates a new .xslx file of a tab, which...
  9. S

    VBA - Populate listbox in userform based on combo box selection

    Hi all, long time lurker, first time posting. I'm new to VBA, but I've been able to build a couple of user forms for my company's benefits team. My form populates data using xlookup and populating textboxes based on the combo box selection is working well. However, I am having an issue...
  10. N

    Frame scrollbar resets when clicking on/in frame

    Dear all, I've been trying to make a Userform which contains: - Textbox, used as search input - Search button - Load button (not coded yet) - Frame: - Checkboxes (dynamically made) - Scrollbar When I've used the search function, the scrollbar moves to the found value (image 2)...
  11. S

    VBA linking Class(es) and Userforms

    Hello, I am a long time user of VBA but i never had the need to deal with userforms until recently i started digging into it. I have been following OOP lessons at university and as a rubberduck user (in the sense that i read a lot of the VBA advices given on the blog) i found more coherent the...
  12. D

    VBA Basic Userform - add -update -delete

    Please see the “Assignment 4” screencast for a detailed demonstration of what you are trying to create in this assignment. In the starter file, we have the seven dwarves and their phone numbers: Obviously, with so few records it would be easy just to edit the cells/spreadsheet directly...
  13. WildBurrow

    Userform write to multiple textboxes on specific pages

    I found the following code that provides the function I need (sorry, I forgot to snag contributor's name). Private Sub txtPriCO1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) Select Case KeyAscii Case vbKey0 To vbKey9, vbKeyBack, vbKeyClear, vbKeyDelete, _ vbKeyLeft...
  14. B

    format Date in a Userform TextBox (yyyy-mm-dd) from data entered in a cell

    Hi I presently have the following: Private Sub CommandButton1_Click() Dim TargetRow As Integer Dim FullName As String 'full name Dim xRg As Range Dim xCell As Range Dim i As Long Dim J As Long Dim k As Long Sheets("Staffing-Processes").Range("Ref").Offset(TargetRow, 28).Value = TextBox24...
  15. SeniorNewbie

    Create/Delete/Reset module and userform by VBA

    Hi out there, my project is about creating userforms based on the values in a worksheet. People planning their USFs in advance or work with templates can accelerate the setup in a smart way. The code to create this both items is: ' the objects are declared as VBComponent Set mdl =...
  16. G

    Bug with passing variables between user forms--VBA

    I have a userform (frmMatrix) where the user enters the current Heat Index and Population of Interest and is returned with a statement of recommended protective measures. Next, they are asked if they would like to make a record of these protective measures in my Data Entry form (frmForm). Upon...
  17. J

    Forced to discard digital signature after opening and immediately saving an Macro-Enabled Excel file

    Hi all, so recently I've made some changes to a .xlsm Excel file and then digitally signed it. I then opened the .xlsm Excel file and saved [CTRL + S] immediately without doing anything. An error message saying that "You have modified a signed project. You do not have the correct key to sign...
  18. A

    How to select Items after dynamically creating CheckBox

    Hello, I have what is supposed to be a simple problem with dynamic Checkbox. I'm making a list CheckBox in UserForm. Dim chkbox As MSForms.CheckBox Dim i As Integer For i = 1 To 3 Set chkbox = Me.Controls.Add("Forms.Checkbox.1", "Checkbox_" & i) chkbox.Caption = "Test " & i...
  19. T

    UserForm Close Event Hangs

    Through use of multiple UserForms I open a 2nd workbook that I hide and then may get or write data to that workbook before closing it. All was good until I noticed that when the red X in upper right corner (Close event) of forms was clicked that the 2nd workbook was left open and hidden. To...
  20. R

    Extracting variables from a UserForm for use in ThisWorkbook module

    I'm using this section of code to call the variables lowOut And upOut from a user form, but can't seem to get it to cooperate. ' ThisWorkbook Module 'this code runs first sub ProccesData() ~~~some other variable~~~ Dim lowOut As Double Dim upOut As Double Load ChartRange...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top