Christine Hansen
New Member
- Joined
- May 8, 2015
- Messages
- 22
As a follow up to a previous thread, I have a Certificate of Analysis (CoA) document that is created for each material lot produced. i have been able to consolidate the number of Excel templates based on previous thread responses. I have one further request that I think is available, but outside the scope of my vba knowledge.
The CoA worksheet contains a Header portion in Rows 1-25. This is populated based on specific customer information. The data summary is contained in columns C (Test Method) to N (Meets Specification), and starts in row 28. The number of rows in the data summary is dependent upon the specific customer specification. An example of the data summary is shown at the bottom of the request.
Here is the question: How can I hide the data summary rows based on an N (column F and a row range of 28 to 42) value of 0?
[TABLE="width: 1243"]
<tbody>[TR]
[TD]Test method[/TD]
[TD]Variable Name[/TD]
[TD]Units[/TD]
[TD]N[/TD]
[TD]Avg[/TD]
[TD]Std Dev[/TD]
[TD]Min[/TD]
[TD]Max[/TD]
[TD]TGT[/TD]
[TD]LSL[/TD]
[TD]USL[/TD]
[TD]Meets Spec[/TD]
[/TR]
[TR]
[TD]Method A[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]5[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Method B[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Method C[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]5[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Yes[/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="2"><col><col><col><col span="3"><col></colgroup>[/TABLE]
The CoA worksheet contains a Header portion in Rows 1-25. This is populated based on specific customer information. The data summary is contained in columns C (Test Method) to N (Meets Specification), and starts in row 28. The number of rows in the data summary is dependent upon the specific customer specification. An example of the data summary is shown at the bottom of the request.
Here is the question: How can I hide the data summary rows based on an N (column F and a row range of 28 to 42) value of 0?
[TABLE="width: 1243"]
<tbody>[TR]
[TD]Test method[/TD]
[TD]Variable Name[/TD]
[TD]Units[/TD]
[TD]N[/TD]
[TD]Avg[/TD]
[TD]Std Dev[/TD]
[TD]Min[/TD]
[TD]Max[/TD]
[TD]TGT[/TD]
[TD]LSL[/TD]
[TD]USL[/TD]
[TD]Meets Spec[/TD]
[/TR]
[TR]
[TD]Method A[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]5[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Method B[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Method C[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]5[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Yes[/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="2"><col><col><col><col span="3"><col></colgroup>[/TABLE]