Hi,
I'm creating a workbook consisting of different worksheets for department Action Plans, consisting of:
Main
Nursing
DT
Launry_Dom
Standards
From worksheets Nursing, DT and Laundry_Dom, there is a row column H that contains either O (Open) or C (Closed).
On the MAIN sheet, I have buttons to run macros:
1) Summary.SummarizeData
2) Summary.SummarizeDataOpen
3) Summary.SummarizeDataClosed
and a button to delete the new worksheet that either of the above subs have created called:
4) dltSheets.dltSheets
What I'm trying to do, if button 1) is pressed:
-----
Private Sub CommandButton1_Click()
Summary.SummarizeData
End Sub
-----
it selects all of the rows from each of the worksheets Nursing, DT and Laundry_Dom etc., and pastes the rows into a newly created worksheet called All
If button 2) is pressed, it searches worksheets Nursing, DT and Laundry_Dom for text "O" in column H and pastes the rows into a newly created worksheet called Open.
If button 3) is pressed, it searches worksheets Nursing, DT and Laundry_Dom for text "C" in column H and pastes the rows into a newly created worksheet called Closed.
Hope it make sense and not to involved.
Cheerz ;^)
I'm creating a workbook consisting of different worksheets for department Action Plans, consisting of:
Main
Nursing
DT
Launry_Dom
Standards
From worksheets Nursing, DT and Laundry_Dom, there is a row column H that contains either O (Open) or C (Closed).
On the MAIN sheet, I have buttons to run macros:
1) Summary.SummarizeData
2) Summary.SummarizeDataOpen
3) Summary.SummarizeDataClosed
and a button to delete the new worksheet that either of the above subs have created called:
4) dltSheets.dltSheets
What I'm trying to do, if button 1) is pressed:
-----
Private Sub CommandButton1_Click()
Summary.SummarizeData
End Sub
-----
it selects all of the rows from each of the worksheets Nursing, DT and Laundry_Dom etc., and pastes the rows into a newly created worksheet called All
If button 2) is pressed, it searches worksheets Nursing, DT and Laundry_Dom for text "O" in column H and pastes the rows into a newly created worksheet called Open.
If button 3) is pressed, it searches worksheets Nursing, DT and Laundry_Dom for text "C" in column H and pastes the rows into a newly created worksheet called Closed.
Hope it make sense and not to involved.
Cheerz ;^)