update sales db sheet from sales sheet

Haleem

New Member
Joined
Nov 24, 2013
Messages
32
I need to update "salesdb" sheet from "sales" sheet. If any change in Sheet "Sales" it should automatically update "Salesdb" Columns from "Sales" A to sheet salesdb D , B to Sheet Salesdb A, C to B and F to F. And also when its copy on c to b of salesdb it should check userid from "Custid" sheet and do no copy duplicate rows.. you can check my code . http://sdrv.ms/LUfsea . I tried one code which is on module6 with FillSalesD. Pleses help me
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

oldbrewer

Board Regular
Joined
Apr 11, 2010
Messages
11,005
make up a tiny pretend table with sales figures and a summary table adjacent to it - then ask what you want in simple english please. I will post a possible scenario in a few minutes......
 

oldbrewer

Board Regular
Joined
Apr 11, 2010
Messages
11,005
salesidcustomeridvalue
s1cust133
s2cust237cust1cust2cust3cust4cust5
s3cust341s133850118222
s1cust445s2013814610949
s2cust549s334353332275255
s3cust253
s2cust3572158
s3cust461
s3cust565
s3cust369
s1cust473
s3cust577
s3cust181
s1cust285
s2cust389
s3cust493
s1cust597
s2cust2101
s3cust3105
s2cust4109
s3cust5113
s3cust3117
s3cust4121
s1cust5125
s3cust1129
s3cust1133
2158

<colgroup><col><col><col span="2"><col><col><col><col><col><col span="7"></colgroup><tbody>
</tbody>
 

Watch MrExcel Video

Forum statistics

Threads
1,122,511
Messages
5,596,581
Members
414,079
Latest member
Frills

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
Top