C
Chris
Hello, could someone please help me create a macro to do the following:
When the user double-clicks on cell A8 then an Input Box appears asking
the user "how many packs have you issued for Astute?"
The user enters in a number (greater than or equal to one) and clicks OK
to proceed.
The number entered in needs to automatically deduct from the the number
that exists in the following cells: C4, C5, C6, C7, C8 and C9. Column C
is the SOH column (Stock on Hand). Column A is the Product
Name column. Also, the number entered needs to automatically be added
to whatever number exists in the current month's cell:
MONTH CELL LOCATIONS:
G4 for Jan
H4 for Feb
I4 for Mar
J4 for Apr
K4 for May
L4 for Jun
M4 for Jul
N4 for Aug
O4 for Sep
P4 for Oct
Q4 for Nov
R4 for Dec
For example: If the user enters in the number 400 into the Input Box,
then quantity 400 needs to automatically be deducted from whatever
number that exists in cells: C4, C5, C6, C7, C8 and C9. Also, as the
current month is Feburary, then 400 needs to be added to whatever number
is currently in cell: H4.
The workbook is named: Packs.xls
The worksheet is named: Product SOH FY 08-09
I am using Excel 2003.
Any help would be greatly appreciated,
Thanks,
Chris.
*** Sent via Developersdex http://www.developersdex.com ***
When the user double-clicks on cell A8 then an Input Box appears asking
the user "how many packs have you issued for Astute?"
The user enters in a number (greater than or equal to one) and clicks OK
to proceed.
The number entered in needs to automatically deduct from the the number
that exists in the following cells: C4, C5, C6, C7, C8 and C9. Column C
is the SOH column (Stock on Hand). Column A is the Product
Name column. Also, the number entered needs to automatically be added
to whatever number exists in the current month's cell:
MONTH CELL LOCATIONS:
G4 for Jan
H4 for Feb
I4 for Mar
J4 for Apr
K4 for May
L4 for Jun
M4 for Jul
N4 for Aug
O4 for Sep
P4 for Oct
Q4 for Nov
R4 for Dec
For example: If the user enters in the number 400 into the Input Box,
then quantity 400 needs to automatically be deducted from whatever
number that exists in cells: C4, C5, C6, C7, C8 and C9. Also, as the
current month is Feburary, then 400 needs to be added to whatever number
is currently in cell: H4.
The workbook is named: Packs.xls
The worksheet is named: Product SOH FY 08-09
I am using Excel 2003.
Any help would be greatly appreciated,
Thanks,
Chris.
*** Sent via Developersdex http://www.developersdex.com ***