Hi all,
I have these 7 pieces of text that if the header contains them I want to keep them
[TABLE="width: 0"]
<tbody>[TR]
[TD]SurveyCusAttr
[/TD]
[TD] SurveyIssueDateSSTZ
[/TD]
[TD] Location
[/TD]
[TD] QuestionName
[/TD]
[TD] QuesAnsKeyEntry
[/TD]
[TD] QuestID
[/TD]
[TD] QuesType
[/TD]
[/TR]
</tbody>[/TABLE]
However the source I get them from has different text attached to them a lot of times that is always changing. For instance one quarter it would be 12345QuesType and the next quarter it would be 9871QuesType. Those pieces of text are the constants that I would be using as a unique identifier to keep the columns, and remove all other columns if they do not contain those unique identifiers.
Could anyone help set me on the correct path? I have worked with VBA before but this one seems a little over my head.
I have these 7 pieces of text that if the header contains them I want to keep them
[TABLE="width: 0"]
<tbody>[TR]
[TD]SurveyCusAttr
[/TD]
[TD] SurveyIssueDateSSTZ
[/TD]
[TD] Location
[/TD]
[TD] QuestionName
[/TD]
[TD] QuesAnsKeyEntry
[/TD]
[TD] QuestID
[/TD]
[TD] QuesType
[/TD]
[/TR]
</tbody>[/TABLE]
However the source I get them from has different text attached to them a lot of times that is always changing. For instance one quarter it would be 12345QuesType and the next quarter it would be 9871QuesType. Those pieces of text are the constants that I would be using as a unique identifier to keep the columns, and remove all other columns if they do not contain those unique identifiers.
Could anyone help set me on the correct path? I have worked with VBA before but this one seems a little over my head.