I need some help as I don't think I can record a macro that would do what I need to do.
The macro which I wanna code would: Verify in column J if column contains a "x" text value or a date or the text value "ANOM" the x value means not treated, the date means it has been treated and ANOM means missing values.
The macro would check row by row
Then at the end if I rerun the macro if all rows are treated call a message box which states all rows have been treated (if no ANOM) and if there are ANOM call a message Box which states ANOM some rows are missing values.
Please, I would appreciate some help as I'm trying to figure out how to do this. Thanks
I tried recording a macro but doesn't help. I'm using excel 2013.
The macro which I wanna code would: Verify in column J if column contains a "x" text value or a date or the text value "ANOM" the x value means not treated, the date means it has been treated and ANOM means missing values.
The macro would check row by row
- if column K contains 6 digits,
- if column E contains some specific text values
- if column N contain 3 digits
- if column X;Y;Z;AA;AB;AC;AD;AE;AF;AG;AH;AI;AJ;AK contain specifif values either some string of character of a range of values for example 10-20; 20-30
- if column AZ contains a Date in specific format
Then at the end if I rerun the macro if all rows are treated call a message box which states all rows have been treated (if no ANOM) and if there are ANOM call a message Box which states ANOM some rows are missing values.
Please, I would appreciate some help as I'm trying to figure out how to do this. Thanks
I tried recording a macro but doesn't help. I'm using excel 2013.