PDA

View Full Version : data transfer does not match up



jeff
12-24-2013, 05:05 PM
With userform the criteria is Date and Team Sheet (a or b or c) and either day,afternoon,night or All (all 3 shifts) to have exact match for transfer of data to Group A sheet.....currently it does not place data in Group A correctly....

This line errors


arrOP_PS(PSCounter, 1) = CDate(Data(CurrentRow, 1)) 'date

Admin
12-24-2013, 07:02 PM
Hi

PFA.

jeff
12-24-2013, 07:22 PM
Thanks Admin

Works well except it places Planned Stops also in the Machine Stops-external....places Planned Stops correctly at the Planned Stops range but also in the Machine Stops-External range

Thanks again

Admin
12-24-2013, 07:43 PM
PFA.

jeff
12-24-2013, 08:07 PM
Thanks Admin

Works great...if I want to say just use All and not Day,Afternoon and Night individually what part of the code would I Comment out (just in case I want to use again)....saves deleting this part of the code

Thanks again

Admin
12-30-2013, 11:53 AM
Hi

It's already considering the shift. See these part of the code


If Shift = "all" Then 'all
CREATE_OUTPUT i, LB
ElseIf Data(i, 2) = Shift Then 'match shift
CREATE_OUTPUT i, LB
End If

jeff
01-01-2014, 04:11 PM
Thanks Admin

As I now transfer all 3 shifts and all 3 Stops everytime which part of the code do I change please?

I only need the Date and Team groups plus the commandbutton on the Userform as everytime I transfer I will be transferring every shift and every stop so do not need the options to select individually

Thanks and happy new year

jeff
01-03-2014, 11:34 AM
bump

Admin
01-03-2014, 11:00 PM
Hi

I'm not clearly understand the query ? Can you rephrase the query ?

jeff
01-04-2014, 09:49 AM
Can the option of selecting Day,Afternoon and Night be removed as I transfer all 3 shifts each time .. I also need the option of Planned Stops,Unplanned Stops Internal and External removed as I want to transfer all 3 each time....I changed the userform to show what I mean...When I select the Userform all I need to select is a Date and a Team.....When a date and Team is selected and I then press transfer button it needs to Transfer All shifts and All Stops for the exact date and team....

Admin
01-04-2014, 09:53 PM
Hi

PFA.

jeff
01-05-2014, 05:14 AM
Hi

Thanks

That is what I need except it does not transfer the Internal and External stops for the same date...it only transfers Planned Stops...the userform is correct in appearance but I need it to transfer all 3 stops together..(Planned,Internasl,External)

Thanks

Admin
01-05-2014, 10:28 PM
Hi

It should be MS Internal and MS External

jeff
01-07-2014, 03:53 AM
Thank you

jeff
01-11-2014, 04:46 AM
Hi

I want to remove the Date from column O and replace with MS PLANNED,MS INTERNAL & MS EXTERNAL....the code to do as programmed except place the stop type in correct area instead of the date

I removed some of the code and it works for removing the date but am unable to get the Stops to show in the correct place

Just out of curiosity have I removed the unwanted code correctly (original file in post #12)

Thanks

jeff
01-11-2014, 04:55 AM
I tried this code changed and it worked....do you see any issues with this change of code

Thanks

Admin
01-13-2014, 09:51 AM
Looks good :)

jeff
01-13-2014, 12:04 PM
Hi Admin

I need to add a further group..when the transfer for MS PLANNED,MS INTERNAL & MS EXTERNAL transfer can there also be another group transferred at the same time.....same criteria as MS ,look at the date ,Place the word "JUICE" in 'GROUP A'!O45,find all words with the name Juice in column K (JUICE-ORANGE and JUICE-PEAR) and sum up VOLUME and transfer to Sheet!Group A P45,same for Time in Column N and transfer to Q45...Place the word "WATER" in 'GROUP A'!O46,find all words with the name WATER in column K (WATER-CLEAR and WATER-COLORED) and sum up Volume and transfer to Sheet!Group A P46,same for Time in Column N and transfer to Q46...Place the word "ALC" in 'GROUP A'!O47,find all words with the name ALC in column K (ALC-RED and ALC-WHITE) and sum up Volume and transfer to Sheet!Group A P47,same for Time in Column N and transfer to Q47...
Sample Files shows the outcome..done manually to show
Thanks

jeff
01-15-2014, 06:36 AM
bump