Anyone know a good excel user form how to

jsox79

New Member
Joined
Apr 17, 2010
Messages
7
Rather than have someone solve my problem id love to atleast try to figure it out on my own.

I have a working form which i found on the net, i edited it to suit my needs. it basically adds data to a table in a sheet. basically a customer db. first name, last name, address, phone, city state. id like to add a form to recall data based off of the phone number or name. this is very simple in excel using vlookup or index and match, but vba is new to me. if there is a good how to or term explanation i would be very grateful. Thanks for your time.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Google "excel function dictionary".

Download from site of your choice. Lots of functions explained

Pedro
 
Upvote 0
Thanks, but this excel functions. I know how to use excel just fine. im looking for visual basic commands and form data structure. im pretty swift with examples i just need to know the right commands and their purpose.

like:

'check to see if txt box empty
If Trim(Me.txtphone.Value) = "" Then
Me.txtphone.SetFocus
MsgBox "Please enter a Phone Number"
Exit Sub
End If

I can look at this code and tell that it is:
checking for blank value in first line
if it is then its setting cursor to that box in second line
and msg box please enter ..... on third

generally i can look at an example and form my own code, but i dont really know how to call it back, and what commands would be used.
Any help is appreciated.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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