Pricing update on Userform

Jerrold

New Member
Joined
Mar 4, 2014
Messages
5
I have a userform that shows current pricing we just had a price increase that was a 3.5% increase, and instead of just changing each price one at a time I would like to add a textbox that shows the 3.5% & command button that will update the pricing in the current textboxes.
 
Last edited:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
something along the lines of

Dim c As Range, rng
Set rng = Range("a1:a20")
Dim my_val As Double

my_val = InputBox("enter new value")
For Each c In rng
c.Value = c.Value + ((c.Value * my_val) / 100)
Next c
 
Upvote 0
the textbox I am wanting to update is on a userform not a spreadsheet...I think I have to repaint the textbox but not sure how to write the code
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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