I have a excel worksheet that I receive frequently, it has the following columns of data
CLIENT_NAME $10,
SEGMENT $54,
ANALYSIS_YEAR $4,
STRUCTURE_CODE $8,
INCLUDE $7,
OPERATIONAL_ID $15,
ANALYST $25
The data is all characters noted by the "$" and the number following is the number of maximum characters in each column.
I need to create a macro that I can activate to search through the data in this worksheet and create a new tab in the same worksheet. This tab contains every row in the worksheet that has bad data defined by any character that does not match the following:
The letters A-Z
The numbers 0-9
Underscore characater
Period character
The 1st row which contains headings needs to be carried over to the second tab with the bad data.
I was thinking of a macro that I could place in personal.xls to do this, although if anyone has another suggestion, I would be interested.
Any takers?
Thanks a lot.
Michael
CLIENT_NAME $10,
SEGMENT $54,
ANALYSIS_YEAR $4,
STRUCTURE_CODE $8,
INCLUDE $7,
OPERATIONAL_ID $15,
ANALYST $25
The data is all characters noted by the "$" and the number following is the number of maximum characters in each column.
I need to create a macro that I can activate to search through the data in this worksheet and create a new tab in the same worksheet. This tab contains every row in the worksheet that has bad data defined by any character that does not match the following:
The letters A-Z
The numbers 0-9
Underscore characater
Period character
The 1st row which contains headings needs to be carried over to the second tab with the bad data.
I was thinking of a macro that I could place in personal.xls to do this, although if anyone has another suggestion, I would be interested.
Any takers?
Thanks a lot.
Michael