Stephenosn
Board Regular
- Joined
- Jun 2, 2015
- Messages
- 52
Hello all and thank you for looking.
I have a userform that is intended to allow the user to apply job overages into other jobs that are not over budget.
I have an Excel userform with five text boxes that are populated as follows. The user selects a single entry in a listbox (lbxOne) that has a job over budget and an amount, lets say for example $200 (this of course will vary). They then make selections from another listbox (lbxTwo) that is a multi select listbox for jobs under budget. Excel counts the number of selections from the lbxTwo and divides the amount from lbxOne... If there are three selections in lbxtwo there will be three corresponding textboxes with the value of $66.67.
I would like to have spinbuttons beside each of these textboxes that allow the user to adjust their values. Here is my problem. I do not want the value for any of the textboxes to exceed the selected value from lbxOne. I would need all textboxes to adjust accordingly to keep the overall value correct. If one textbox's value is increased/decreased the other textboxes would be adjusted proportionately. There would be a spinbox for each textbox to make it easy on the user.
Does anyone have a solution to coordinate multiple spinboxes,textboxes and a chosen value?
Thank you for having a look,
John
I have a userform that is intended to allow the user to apply job overages into other jobs that are not over budget.
I have an Excel userform with five text boxes that are populated as follows. The user selects a single entry in a listbox (lbxOne) that has a job over budget and an amount, lets say for example $200 (this of course will vary). They then make selections from another listbox (lbxTwo) that is a multi select listbox for jobs under budget. Excel counts the number of selections from the lbxTwo and divides the amount from lbxOne... If there are three selections in lbxtwo there will be three corresponding textboxes with the value of $66.67.
I would like to have spinbuttons beside each of these textboxes that allow the user to adjust their values. Here is my problem. I do not want the value for any of the textboxes to exceed the selected value from lbxOne. I would need all textboxes to adjust accordingly to keep the overall value correct. If one textbox's value is increased/decreased the other textboxes would be adjusted proportionately. There would be a spinbox for each textbox to make it easy on the user.
Does anyone have a solution to coordinate multiple spinboxes,textboxes and a chosen value?
Thank you for having a look,
John