Best method to collect user input?

ChuckDrago

Active Member
Joined
Sep 7, 2007
Messages
470
Office Version
  1. 2010
Platform
  1. Windows
Hi everyone,

I have a Master DB and many Input Sheets. They both have identical record layouts, so that the first is actually a collection of many of the second. The question is: what would be the best method to add the Input Sheets contents to the Master? Only caveats: If the part number (record ID) exists, the new input should overwrite it, and if it does not exist, the new record should be added at the bottom (the exit routine will sort and save).

I was thinking in a recursive loop where the first input record is grabbed, the Master DB is opened and activated, a find sub executes, looking for the part number, and overwriting or adding it, depending on the find result. Then change focus back to Input, grab next record, etc.

However, it looks rather cumbersome and I wonder if there is an Append method I know nothing about.

Thanks,

Chuck
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,213,536
Messages
6,114,202
Members
448,554
Latest member
Gleisner2

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