Form Design

wcthrill

Board Regular
Joined
Nov 28, 2005
Messages
80
Id like to have a form with the following info.

Date
Customer
Amnt (this may be broken)
category ( I will need to have multiple desks to add up to the total amnt)

for example

Cust ABC will have a total dep of $4000
The $4000 may be broken up into 2 categories
Can I have a form that I can enter all the info once. Or will I need to add multiple entries for that 1 deposit?

For ex.
1 entry for $1500 catergory fruit
1 entry $2500 category bread

Or can I just input the info 1 time on the form

hope Im making sense here
 
I Oorang will be happy to help :wink: :LOL:

Press Alt F-11 to launch the VBE (Visual Basic Editor)
On the insert menu, select "userform"
This should create a user form and the "Toolbox" toolbar.
You can then add the controls using the Toolbox. When you are done, right click on the userform and select viewcode.
Paste in the code above.
The disply the userform itself, you just need a macro in any module that displays the userform. Here are the pertinant commands:
UserForm1.Show
UserForm1.Hide
Unload Userform1
Note: That if you name the UserForm something besides UserForm1 use that name instead.
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Sorry bout the misspell...Ill just call ya Big O..ok I actually fig it out b4 on making the form...now doing this macro...do I use records macro from the tools menu? so now IM a fool for 15 min...
 
Upvote 0

Forum statistics

Threads
1,215,942
Messages
6,127,807
Members
449,408
Latest member
Bharathi V

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