Hi,
I have a workbook with numerous worksheets ranging from 1 - 30.
Sheet 1 contains stock levels for each item within column K
Staff enter info on the specific client sheets (sheet 2 - 30) which then deducts the stock ordered from sheet 1.
(ie so if a client on sheet 3 orders 10 units of an item the master stock level on sheet 1 deducts 10 from stock available for that item in column K)
What I am trying to achieve via vba is that if data is entered in sheet 2 - 30 and it causes a cell in sheet 1 column k to drop below 0 then a message box is displayed to that effect.
I can get it to work if the changes are made directly on sheet 1 but not if they are made on a different sheet.
Any help is appreciated.
I have a workbook with numerous worksheets ranging from 1 - 30.
Sheet 1 contains stock levels for each item within column K
Staff enter info on the specific client sheets (sheet 2 - 30) which then deducts the stock ordered from sheet 1.
(ie so if a client on sheet 3 orders 10 units of an item the master stock level on sheet 1 deducts 10 from stock available for that item in column K)
What I am trying to achieve via vba is that if data is entered in sheet 2 - 30 and it causes a cell in sheet 1 column k to drop below 0 then a message box is displayed to that effect.
I can get it to work if the changes are made directly on sheet 1 but not if they are made on a different sheet.
Any help is appreciated.