UPDATE DATABASE IN EXCEL SHEET WITH THE HELP OF USERFORM

Khanzaki

New Member
Joined
Jan 18, 2013
Messages
29
HI ALL , WILL TRY TO EXPLAIN AS SIMPLE AS POSSIBLE
SO I HAVE A USERFOM WITH 80 CONTROLS(TEXTBOXES ,COMBOBOXES ) I HAVE NAMED THEM AS "FIELD" FOLLOWED BY A NUMBER
EG. FIELD1 ,FIELD2,FIELD3 UPTO FIELD80
DATA FROM THESE FIELDS ARE ADDED TO THE DATABASE SHEET IN EXCEL BY ADD BUTTON ( I HAVE USED LOOP VBA TO ACHIEVE THIS) THIS WORKS FINE UNLESS I HAVE THE NEED TO UPDATE PREVIOUSLY ENTERED DATA
I AM LOOKING FOR A SOLUTION THAT SHOULD LOOK FOR VALUE OF FIELD1 IN DATABASE SHEET AND IF A MATCH IS FOUND IN SOME ROW , THE DATA FROM ALL CONTROLS SHOULD GO INTO ADJACENT COLUMNS OF SAME ROW (i.e. IF FOR EG. FIELD1 VALUE IS FOUND IN ROW NO4 ,THEN FIELD2 VALUE SHOULD GO IN (4,2) FIELD 3 IN (4,3) AND SO ON UPTO (4,80)
WAITING PATIENTLY FOR YOUR KIND RESPONSES
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Update data of selected row using userform
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

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