Overwriting cell with data from another cell

ExcelDudee

New Member
Joined
Mar 8, 2018
Messages
1
So my task is to make a fully functioning bill and stock display in Excel. I've completed everything and it all works well except for on little thing. The amount of selected products are to be deducted from the stock on another sheet. And note that it has to be saved afterwards and deducted from stock upon reentering another product or the same one again. My idea was to have certain stages 1 for editing and 2 for done and to save. And when the user entered 2 in a certain cell the data would overwrite. But now I've realised I will use abutton instead. The only problem is that I have no idea how I will code that in VBA. So far I have failed miserabely and spent countless hours in trying to figure this out. If you have any idea how to make this happen please let me know. Thanks for taking your time :)

So these stock values are to be deducted upon match (F3:F40)
Zajeta_slika.jpg
[/HTML][/HTML]

According to how many were selected (if any) in the bill form (C17:C41 for quantity, B17:B41 for name match)
Zajeta_slika.jpg



excel1.png
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,214,983
Messages
6,122,591
Members
449,089
Latest member
Motoracer88

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