Aussie Grid
New Member
- Joined
- Jan 14, 2010
- Messages
- 47
I would like to be able to compare the target value to that of a range of cells, thus avoiding code for every target cell.
Currently: If Target.Offset(0, -1).Value = Worksheets("Admin").Range("S33")
If it could be changed to look for the target cell value eg. Worksheets("Admin").Range("S33:S40") it would save a lot of code as Ialready have about 240 lines of code in the event.
Would it be better as a case statement?
Any & all help appreciated
Aussie Grid
Currently: If Target.Offset(0, -1).Value = Worksheets("Admin").Range("S33")
If it could be changed to look for the target cell value eg. Worksheets("Admin").Range("S33:S40") it would save a lot of code as Ialready have about 240 lines of code in the event.
Would it be better as a case statement?
Any & all help appreciated
Aussie Grid