+ Reply to Thread
Results 1 to 4 of 4

Pick and Choose Options

  1. #1
    Registered User
    Join Date
    05-21-2022
    Location
    Brunswick, GA, USA
    MS-Off Ver
    365
    Posts
    6

    Pick and Choose Options

    I have 8 employees. Each month I have opportunities for special assignments. The employees can select which opportunity interests them in an order they prefer. Based on who was selected last, last month, affects who is first in the next month. Anyway, I provide them with a calendar of the possible assignments. Currently, I just have a list of the assignments and they put a number beside the assignment showing which assignment they prefer and in which order. I would like to have the employee be able to click on the assignment in the calendar and have that assignment populate in a list in the order they choose their assignments.

    I have searched many websites, read many how to documents, sat through numerous videos; but I have yet to even come close to anything like I am suggesting. So my first question is; is this something that could be done? If so, where could I research the background to make it happen? I don't mind someone providing me the results, but I really want to learn and don't mind researching the subject; but I haven't even gotten in the right ball park yet.

    See attached. (I hope it is attached. I went to add attachments, uploaded and it says it's attached there. But when I close that window, I don't see anything on this window showing it is attached.)
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Pick and Choose Options

    Just about anyone here will tell you that merged cells are to be avoided at all costs.

    But try these two macros to help you in the right direction.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Croweater; 06-09-2022 at 08:56 AM.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,675

    Re: Pick and Choose Options

    PHP Code: 
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If 
    Target.Count <> Or Intersect(TargetRange("C3:M32")) Is Nothing _
    Or Len(Target.Cells(11)) = 0 Then Exit Sub
        
    If WorksheetFunction.CountIf(Range("X3:X7"), Target.Cells(11)) > 0 Then
            MsgBox 
    "Dupplicate Assignment!"
            
    Exit Sub
        End 
    If
        For 
    Each Cell In Range("X3:X7")
            If 
    IsEmpty(CellThen
                Target
    .Copy Cell
                Application
    .CutCopyMode False
                
    Exit Sub
            End 
    If
        
    Next
    End Sub 
    Attached Files Attached Files
    Quang PT

  4. #4
    Registered User
    Join Date
    05-21-2022
    Location
    Brunswick, GA, USA
    MS-Off Ver
    365
    Posts
    6

    Re: Pick and Choose Options

    Thanks for the quick response. I like it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 04-05-2019, 10:29 PM
  2. [SOLVED] 'Randomly' pick from a list of text options
    By Zdog in forum Excel General
    Replies: 11
    Last Post: 09-05-2016, 11:18 AM
  3. If function to choose between three options
    By jmankey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2015, 02:39 AM
  4. [SOLVED] How to choose macro from options
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-30-2014, 11:57 PM
  5. Replies: 2
    Last Post: 12-03-2013, 07:08 AM
  6. Pick n choose data
    By amarrforever in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-30-2009, 10:42 AM
  7. choose 1 options then 1 cell hidden
    By lunar_star in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2007, 07:35 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1