ssaulen2011
New Member
- Joined
- Nov 2, 2017
- Messages
- 5
I'm trying to create a button that will search these cells for the string "AUTO"
If it doesn't say "AUTO" I want it to clear contents and also clear content of the corresponding cell to the left.
Example If the first cell F13 contains "AUTO" I want it to skip to F14 and so on. but if F14 doesn't contain "AUTO" I want it to clear contents of F14 and E14 and continue on.
Here is a list of the secondary cells I want to clear the contents if the other contains "AUTO"
Anyone help? let me know if this is confusing.
Code:
F13:F20,F25:F32,F38:F44,F49:F56,F61:F68,J61:J68,N61:N68,J49:J56,N49:N56,J37:J44,N37:N44,J25:J32,N25:N32,J13:J20,N13:N20,R13:R20,R25:R32,V25:V32,V13:V20,Z13:Z20,AD13:AD20,Z25:Z32,AD25:AD32,R37:R44,V37:V44,Z37:Z44,AD37:AD44,AD49:AD56,R49:R56,V49:V56,Z49:Z56
Example If the first cell F13 contains "AUTO" I want it to skip to F14 and so on. but if F14 doesn't contain "AUTO" I want it to clear contents of F14 and E14 and continue on.
Here is a list of the secondary cells I want to clear the contents if the other contains "AUTO"
Code:
E13:E20,E25:E32,E38:E44,E49:E56,E61:E68,I61:I68,M61:M68,I49:I56,M49:M56,I37:I44,M37:M44,I25:I32,M25:M32,I13:I20,M13:M20,Q13:Q20,Q25:Q32,U25:U32,U13:U20,Y13:Y20,AC13:AC20,Y25:Y32,AC25:AC32,Q37:Q44,U37:U44,Y37:Y44,AC37:AC44,AC49:AC56,Q49:Q56,U49:U56,Y49:Y56
Anyone help? let me know if this is confusing.