twinklestar23
New Member
- Joined
- Jul 6, 2014
- Messages
- 4
Excel Experts,
I need your help in creating a lock for past data for my Inventory List in Excel 2007.
Ideally, I'd like to record macro that will select a list of data that were input before today, and lock these cells.
I know selective cells locked can be done by doing this;
Lock or unlock specific areas of a protected worksheet - Excel
HOWEVER, how do i modify the macro to only select data with dates before TODAY and then lock these cells?
i.e:
Date | Item | Quantity
1 July 2013 | Pencil | 5
<Todays date> | Eraser | 5
The data on 1 July 2013 will be locked and can't be changed once i hit the button/macro.
I'm sure it can be done, but i just can't link the dots.
Please help!!
I need your help in creating a lock for past data for my Inventory List in Excel 2007.
Ideally, I'd like to record macro that will select a list of data that were input before today, and lock these cells.
I know selective cells locked can be done by doing this;
Lock or unlock specific areas of a protected worksheet - Excel
HOWEVER, how do i modify the macro to only select data with dates before TODAY and then lock these cells?
i.e:
Date | Item | Quantity
1 July 2013 | Pencil | 5
<Todays date> | Eraser | 5
The data on 1 July 2013 will be locked and can't be changed once i hit the button/macro.
I'm sure it can be done, but i just can't link the dots.
Please help!!