kshitij_dch
Active Member
- Joined
- Apr 1, 2012
- Messages
- 362
- Office Version
- 365
- 2016
- 2007
- Platform
- Windows
Hello All,
I am working on one logic , need help
i have a range Range A:AE
Have Certain codes (alphabets) on cells like "P" , "SL" , "TL" , "MK"
i want to apply logic that starting from cell A1 or A2 or A3......
macro should check for code "P" in cells , as soon as it finds 6 "P" in a row (No Gap), next cell should automatically marked as "WO".
Please suggest ....here is what i want
[TABLE="width: 832"]
<colgroup><col width="64" span="13" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]P[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]WO[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]p[/TD]
[TD][/TD]
[TD]p[/TD]
[TD][/TD]
[TD]p[/TD]
[TD][/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]WO[/TD]
[/TR]
</tbody>[/TABLE]
I am working on one logic , need help
i have a range Range A:AE
Have Certain codes (alphabets) on cells like "P" , "SL" , "TL" , "MK"
i want to apply logic that starting from cell A1 or A2 or A3......
macro should check for code "P" in cells , as soon as it finds 6 "P" in a row (No Gap), next cell should automatically marked as "WO".
Please suggest ....here is what i want
[TABLE="width: 832"]
<colgroup><col width="64" span="13" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]P[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]p[/TD]
[TD="width: 64"]WO[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]p[/TD]
[TD][/TD]
[TD]p[/TD]
[TD][/TD]
[TD]p[/TD]
[TD][/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]p[/TD]
[TD]WO[/TD]
[/TR]
</tbody>[/TABLE]