User form memory

JeremyA1976

Board Regular
Joined
Aug 3, 2015
Messages
59
I am trying to write a code so that the last input is saved in each of the text boxes in the user form in the most recent submission. I want it to recall the current price on an item, so it can be compared and changed if needed. It is rare that we change prices on all items, but there is always crazy ups and downs on certain items. The items all have cells in worksheets that i can recall or compare to, but im not sure on the language.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
write all cells to a temp sheet for holding the values.

'write all textboxes to the normal place
sheets("sheet2").range("A1") = txtBox1
sheets("sheet2").range("A2") = txtBox2
etc

'write all textboxes to the last used sheet
sheets("sheet3").range("A1") = txtBox1
sheets("sheet3").range("A2") = txtBox2
etc
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

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