Grizlore
Active Member
- Joined
- Aug 22, 2006
- Messages
- 259
I need to calculate a total TareWeight and display it to the User and this must be done via UserForms.
Sounds easy, but I am having trouble.
Help wil the VBA code would be very much appreciated!!!
Basically, all I need is the total Tareweight, but obtaining it is the problem. I need to filter lots of worksheets to obtain the right weight.
TareWeight = InsertTare + GlueTare + BagTare + CartonTare
Doesn’t this sound simple?
I have four worksheets…. right, the easier ones first
“Insert Weights”
This contains two columns “Insert Type” & “Weight”.
Via List boxes, the User should select the “Insert Type” and the code should pick up it’s adjacent “weight”
“Glue Weight”
This contains three columns “Plant”, “Line” & “Weight”
Via List boxes, the User should select the “Plant” & “Line” and the code should pick up it’s adjacent “weight”. It would have to filter the “Line” after the “Plant” is selected.
“Bag Weights”
This contains four columns “Plant”, “Line”, “Size” & “Weight”
Via List boxes, the User should select the “Plant”, “Line” & “Size” and the code should pick up it’s adjacent “weight”. It would have to filter the “Size” & “Line” after the “Plant” is selected.
“Carton Weight”
This contains five columns “WO Number”, “Size”, “Name”, “Date” & “Weight”
Via List boxes, the User should select the “WO Number” & “Date” and the code should pick up it’s adjacent “weight”. It would have to filter as “WO Number” can have more than one date.
Can anyone help please???
I need to know the code to filter each criteria, so the list box is populated with the filtered info, until the required weight can be found. This need to be done for the four elements and then... add them up.
Any help would be much appreciated!
Sounds easy, but I am having trouble.
Help wil the VBA code would be very much appreciated!!!
Basically, all I need is the total Tareweight, but obtaining it is the problem. I need to filter lots of worksheets to obtain the right weight.
TareWeight = InsertTare + GlueTare + BagTare + CartonTare
Doesn’t this sound simple?
I have four worksheets…. right, the easier ones first
“Insert Weights”
This contains two columns “Insert Type” & “Weight”.
Via List boxes, the User should select the “Insert Type” and the code should pick up it’s adjacent “weight”
“Glue Weight”
This contains three columns “Plant”, “Line” & “Weight”
Via List boxes, the User should select the “Plant” & “Line” and the code should pick up it’s adjacent “weight”. It would have to filter the “Line” after the “Plant” is selected.
“Bag Weights”
This contains four columns “Plant”, “Line”, “Size” & “Weight”
Via List boxes, the User should select the “Plant”, “Line” & “Size” and the code should pick up it’s adjacent “weight”. It would have to filter the “Size” & “Line” after the “Plant” is selected.
“Carton Weight”
This contains five columns “WO Number”, “Size”, “Name”, “Date” & “Weight”
Via List boxes, the User should select the “WO Number” & “Date” and the code should pick up it’s adjacent “weight”. It would have to filter as “WO Number” can have more than one date.
Can anyone help please???
I need to know the code to filter each criteria, so the list box is populated with the filtered info, until the required weight can be found. This need to be done for the four elements and then... add them up.
Any help would be much appreciated!