Results 1 to 4 of 4

Thread: userform help with code for combobox4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Rep Power
    0

    userform help with code for combobox4

    Hi

    The Userform works perfectly but now I have just added Combobox4 to the userform.I never sent to 2 sheets with the single userform so not sure it is even possible....Currently all data is sent to either sheet Unit 1 or Unit 2 or Unit 3....what code do I need to add so that when a selection is made in Combobox4 it looks at both the Date,Unit and Shift and then sends this number to matching criteria....example...If the date in Userform is 7-1-2014,Unit A and Shift as Afternoon then it will send only Combobox4 to "Unit A Performance" C19 and the rest of data goes to sheet "Unit A"
    ..example...If the date in Userform is 7-1-2014,Unit C and Shift as Night then it will send only Combobox4 to "Unit C Performance" C35 and the rest of data goes to sheet "Unit C"

    Thank you
    Attached Files Attached Files

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi

    Question.. why do you need to keep the data in separate sheets ? It'll always good to keep the data in single tab whihc is easy to maintain at the same time creating reports from the data.

    So I would suggest you to add 3 more columns, one for Unit, second one for shift and third one for hours.
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Rep Power
    0
    Thank you for reply
    Different sheets will look for different data...I do not require the hours in the Unit sheets but do in the Performance sheets....there is much more data to enter....

  4. #4
    Junior Member
    Join Date
    Jan 2014
    Posts
    3
    Rep Power
    0
    Is it possible to have userform to send data in combobox4 to other sheet?
    Are you able to write code to achieve
    I may also look at your suggestion of data in 1 sheet

    Thanks

Similar Threads

  1. Shorten VBA Code By Removing Redundant Superfluous Code
    By paul_pearson in forum Excel Help
    Replies: 2
    Last Post: 08-15-2013, 09:09 PM
  2. One userform and 60 Combo Boxes
    By k0st4din in forum Excel Help
    Replies: 11
    Last Post: 04-25-2013, 09:55 AM
  3. set ListView on userform
    By Mahesh in forum Excel Help
    Replies: 3
    Last Post: 12-04-2012, 08:50 AM
  4. Multiple graph in userform
    By Tony in forum Excel Help
    Replies: 3
    Last Post: 10-20-2012, 09:32 AM
  5. Userform With DataGrid or FlexGrid
    By Rasm in forum Excel Help
    Replies: 5
    Last Post: 04-09-2011, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •