zendog1960
Active Member
- Joined
- Sep 27, 2003
- Messages
- 459
- Office Version
- 2019
- Platform
- Windows
I have a sheet, "Item Sales" which I would like to used to adjust my "Inventory Data" sheet.
Here are the current layouts:
"Item Sales" only has 3 columns;
Column A = "Item Code"
Column B = "Item Description"
Column C = "Quantity"
"Inventory Data" has many more columns but only the the first three are relevant to this problem.
Column A = "Item Code"
Column B = "Item Description"
Column C = "On Hand"
What I want but cannot figure out is how to do the following:
When I am in the Item Sale sheet and run the 'Post_Sales' macro, it looks at all the occupied rows then by using the 'Item Code', it matches up then takes the "Quantity" and subtracts it from the "On Hand" value in the "Inventory Data" sheet
So if Item Code 123XYZ show that there are 100 "On Hand" and I sell 25 of them. I mark the sale down in the "Item Sales" sheet. When I press the "Post" button, the new value in the Inventory Data sheet for the Item 123XYZ should now be 75.
I am at a loss on how to make this happen though. Any and all help would greatly be appreciated!
Here are the current layouts:
"Item Sales" only has 3 columns;
Column A = "Item Code"
Column B = "Item Description"
Column C = "Quantity"
"Inventory Data" has many more columns but only the the first three are relevant to this problem.
Column A = "Item Code"
Column B = "Item Description"
Column C = "On Hand"
What I want but cannot figure out is how to do the following:
When I am in the Item Sale sheet and run the 'Post_Sales' macro, it looks at all the occupied rows then by using the 'Item Code', it matches up then takes the "Quantity" and subtracts it from the "On Hand" value in the "Inventory Data" sheet
So if Item Code 123XYZ show that there are 100 "On Hand" and I sell 25 of them. I mark the sale down in the "Item Sales" sheet. When I press the "Post" button, the new value in the Inventory Data sheet for the Item 123XYZ should now be 75.
I am at a loss on how to make this happen though. Any and all help would greatly be appreciated!