In desparate need of a macro to alter a sheet based on values in a different sheet

Ouburg84

New Member
Joined
Apr 25, 2018
Messages
1
Dear all,

Except writing some html in my youth I'm pretty new to programming. I've searched for an Excel template for my business needs, but I couldn't find what I needed. That's why I've started altering a allready existing template a couple of weeks ago and it's going pretty well, untill recently.

In the first "stock" sheet I have a summary of (used) items I have in stock. In the other "selling" sheet I select the items and quantity I'm selling. Now I need the entered the quantity of items in the "selling" sheet to be substracted from my "stock" sheet when I click a button (I already have a working button linked to a macro). When the quantity reaches zero in my "stock" sheet the row needs to be partial removed (the first 11 columns) because there are references in the other cells. Finally the empty rows have to be deleted to avoid getting a immense list.

I would really appreciate it if you can help me with this. Despite the fun I've had learning to program vba and the information I've found on the internet I'm starting to get desperate. I just can't get it working.

Kinds regards,
Rutger
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

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