chadski778
Active Member
- Joined
- Mar 14, 2010
- Messages
- 297
In work we run a regular data extract into excel from a database but a lot of the data is
not required and needs to be deleted.
Would it be possible to write a macro that can delete rows between specific strings?
I would like to delete ALL ROWS beween the following:
'Oilsafe Classification:' and 'Toxic Hazard Rating'
'Our GHS Class:' and 'Regulatory Information'
'ECN (Taiwan)' and 'REACh overall status'
'REACh overall status' and 'Physical Properties'
'Density at ambient' and 'Flash point (C)'
'Flash point (C)' and 'WGK'
AND all rows containing text AFTER 'WGK'
The pairs of text above are always in that order in the spreadsheet
not required and needs to be deleted.
Would it be possible to write a macro that can delete rows between specific strings?
I would like to delete ALL ROWS beween the following:
'Oilsafe Classification:' and 'Toxic Hazard Rating'
'Our GHS Class:' and 'Regulatory Information'
'ECN (Taiwan)' and 'REACh overall status'
'REACh overall status' and 'Physical Properties'
'Density at ambient' and 'Flash point (C)'
'Flash point (C)' and 'WGK'
AND all rows containing text AFTER 'WGK'
The pairs of text above are always in that order in the spreadsheet