+ Reply to Thread
Results 1 to 2 of 2

VBA code to assign names based on some variables

  1. #1
    Registered User
    Join Date
    04-20-2018
    Location
    Costa Rica
    MS-Off Ver
    2013
    Posts
    7

    Post VBA code to assign names based on some variables

    How do I get tickets assigned based on priority and criteria?

    I haven't tried any formula as I was wondering if can be done via VBA but formulas can work too.
    Limitations are:
    - Priority Level 3, 4 or 5. must be assigned first and people can get maximun 2 of then, otherwise must be assigned to someone else. In the "Pars" sheet you will see a cell called: Rpt Max were the maximun number of cases can be checked
    - Priorities 0, 1 and 2: Can be assigned to everyone, however the maximun per user is in the Sheet "Pars", the cell is called Only Closures, but if the user has tickets assigned with priority 3 or higher, you assigned tickets based in the maximum mumber in the column called Only Closures + Rpt.
    Attached Files Attached Files
    Last edited by Perez199202; 04-24-2018 at 06:33 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: VBA code to assign names based on some variables

    What is your question?

    Want to get your question answered quickly?
    • Ensure your question is not too vague. Don't assume anyone is familiar with your problem. While you can upload small attachments, describe your problem in the body of the post. We are fortunate to have several Excel gurus, but few mind-readers.
    • On the other hand, skip irrelevant details. Be descriptive and concise. Short, direct, and to-the-point questions with apt thread titles are almost always answered promptly.
    • Keep the scope reasonably narrow. Questions like, "How do I set up an accounting system in Excel?" might be a long time waiting.
    • Explain what you've already tried. ("Calculation is set to automatic, but formulas still don't compute") so helpers don't waste your time or theirs.
    • Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    • If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.
    Ben Van Johnson

+ 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: 13
    Last Post: 10-11-2016, 10:29 AM
  2. VBA assign Variables
    By electriczen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2016, 09:27 PM
  3. VBA to assign Variables to PivotFields
    By kvarner in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2016, 02:51 PM
  4. Code To Look In Multiple Sheets Return Value Based On Row and Column Variables
    By ZooTV92 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2015, 01:19 PM
  5. Replies: 3
    Last Post: 04-23-2013, 03:46 PM
  6. Macro code to assign values based on cell data
    By datadk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2011, 06:59 PM
  7. [SOLVED] code to add a name to the names collection and assign a reference
    By keithb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2005, 02:05 AM

Tags for this Thread

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