userform

  1. S

    One VBA Userform Feeding a selected Workbook

    Hi all. Our business is moving away from a third party that looks after our sickness. Whilst we await another (possibly), I have been tasked with creating an interim solution. What the powers that be have asked for, is a central user form that can populate a selected Workbook. As we have...
  2. F

    Userform mouse scroll

    I tried a few code snippets for scrolling a userform with mouse wheel. So far this has worked. How to use the mousewheel with a scrollbar control Is it possible to allow scroll only when mouse hovers over the form? - 64-bit - Form is vbModeless
  3. L

    Userform with path to sharepoint and copy pdf file to my folder

    Hello, I've got an issue with FIleCopy command in VBA. I always used this when i wanted to copy/paste some file from one folder to another. (but it was local or based on the server). Unfortunately at that moment i have to wokr with onedrive solution. I need to build some file (or rather wanna...
  4. F

    Userform listbox - recall selection

    Is it possible to recall the value selected (highlighted blue) in a userform listbox when form is shown again. Below code uses arrays to show subfolders in a listbox. Option Explicit Private Sub UserForm_Initialize() Dim file_system As Object, sub_folder As Object Dim main_folder As String...
  5. S

    Can you help me in debugging the following code with sumif?

    I have a column B that contains the date, and a column "i" that contains incoming values, a column" j "that contains spent values, and a textbox1 contains a date and a Textbox 2 is required to show the result of collecting column cells, "i". that are smaller than the date in textbox 1, as well...
  6. E

    I need to change my output to 2 decimals even if input hass no decimals.

    I am wanting to have a userform which brings in my information from the user and then outputs it to a spread sheet but I can't figure out how to get it to output in 2 decimal places if the user does not put in the value with any decimal places. I want it to always output to 2 decimals regardless...
  7. R

    How to use variables from a user form in a macro

    I've got a user form I want to use to determine how to run a macro: Private Sub UserForm_Initialize() 'Reset the form radiotempl1.Value = False radiotempl2.Value = False datatype.Clear With datatype .AddItem "Public" .AddItem "Private" End With radiotier1.Value = False radiotier2.Value...
  8. S

    userform to search and update vba

    Hello, I have a user form like mentioned above and the form needs a searching feature that searches based on certain column text, and then being able to update certain values from selected combobox text & text box values. The search box and command button s are Command button 4 = "search"...
  9. P

    Add a dependent dropdown on UserForm with list constantly changing

    Hi, I have a spreadsheet containing a list of products and Promotions. Each product can have multiple promotions, and one promotion can be found in different products (many-to-many). This spreadsheet is updated constantly. I created a UserForm with a dropdown list containing unique products...
  10. B

    Auto Generate Labels

    Hi, I'm trying to work out if its possible to generate a number of labels from 1-68 labels. each label has unique data based off of a data sheet. ill attach an image that displays the label and where certain information needs to populate. The Number at the top comes from the data sheet...
  11. M

    VBA - How do I stop a Routine if the user cancels one of the Userforms

    I have a Sub Routine to help users add a new tab to a spreadsheet. It starts by opening a userform where they enter the name of the new tab. The userform then closes and the VBA then searches to see if there is already a tab with that name - if there is the user gets a message to say it already...
  12. S

    VBA CheckBox to copy and past values from one sheet to another

    Thanks for any help , it is needed, i have searched and tried to find some code to make my own but have no luck so i am looking to this forum yet again for help. So what i am looking to do is to simply copy values of a cell and paste the value in another cell on a separate work sheet using...
  13. H

    VBA UserForm Search/Update Help

    I'm in the process of making a training tracker for multiple office sections. I was able to create a data entry form that will send an individual's information to the sheet for their respective section. However, the only solution I could think of to easily update old information without making a...
  14. wsnyder

    Listbox Displays Odd Data On First Use Then Data as Expected

    Hi all, I have a UserForm that Loads and Shows when the Workbook is opened. The User is given the current date setting that is saved to a worksheet cell on each use. Ths User is then given a choice to use a different date Yes or No. If the User chooses Yes, then a Listbox on the UserForm is...
  15. S

    Vba code help, userform combobox input selection to specific cell.

    Hello, I have a excel workbook that I have created that needs a specific code for userform combobox. The question/ problem, the combobox has a selection which is automatically populated in the initialization. In combobox the selection is: 1. clamp install 2. damaged clamp With that...
  16. Z

    VBA/UserForm: Find max, min value and less than 4000 in selected listbox items

    Hello all I really need your help as the topic title says I need to find the minimum, maximum, less than 4000 among the selected listbox items. AB1EmployeeSalary2Gilmore34403Stone67804Horton102445Rice54326McDaniel205447Fowler123228Paul54409Burns765610Robertson4568 I already have a form, but I...
  17. B

    filtering/searching for numeric VBA userform

    Hi I have a UserForm that has a filter Combobox that filters different criteria. and that includes "Year" and a TextBox which will be the search box. and a listbox that will show result Note: "Year" is in separate column ("T") the search box is working fine for other criteria, except for...
  18. andrewb90

    Using a variable to open a userform

    Hi all, I have a number of similarly named user forms that are called based on the value in a cell. I am trying to find a more efficient way to call the user forms without having to add additional elseifs to the code everytime I add a few more. I thought I had the right idea, but perhaps I...
  19. J

    Identify if shared workbook is locked by another user before running macro

    Hi All, Ive searched and searched and cant find an answer to my query. If it has been answered already please point me in the right direction. I have a shared excel workbook where multiple staff could be in at the same time. Staff input and update data via a userform. To populate the excel...
  20. M

    Get Data From Sheets to MasterSheet and keep All sheets updated if Something is updated

    Hey Guys, i have an Workbook with 5 Sheets where you can add Data while Using a Userform. The Data begins in each Sheet in row 10, since i nead the rows above 10 for my interface. I have also an Mastersheet, where the Data from these specific Sheets should be copied and should be edited if...

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