Results 1 to 12 of 12

Macro that checks a list, and gives user prompt for action

Threaded View

jayherring86 Macro that checks a list, and... 08-23-2013, 03:48 AM
millz Re: Macro that checks a list,... 08-23-2013, 05:30 AM
jayherring86 Re: Macro that checks a list,... 08-23-2013, 05:40 AM
jayherring86 Re: Macro that checks a list,... 08-23-2013, 05:54 AM
millz Re: Macro that checks a list,... 08-23-2013, 06:12 AM
jayherring86 Re: Macro that checks a list,... 08-23-2013, 06:42 AM
millz Re: Macro that checks a list,... 08-26-2013, 09:53 AM
jayherring86 Re: Macro that checks a list,... 08-26-2013, 10:31 AM
jayherring86 Re: Macro that checks a list,... 08-28-2013, 04:05 AM
millz Re: Macro that checks a list,... 08-29-2013, 12:32 PM
jayherring86 Re: Macro that checks a list,... 08-29-2013, 12:52 PM
millz Re: Macro that checks a list,... 08-30-2013, 09:12 AM
  1. #1
    Forum Contributor
    Join Date
    08-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    139

    Macro that checks a list, and gives user prompt for action

    Hello Everyone!

    I have used this site in the past and found the advice very helpful so I thought I would register. To the point where I am now starting to take on some bigger excel VBA challanges, actually.

    I have provided a link to download an example workbook... this one is a huge challange and I'm not even sure where to start!

    On the example workbook there is a base data table, it describes the movement of items through "phases". To track this progress I use another table, which is actually in a different spreadsheet altogether but on the example it is shown on the table tab.


    The basic idea is that an item arrives, at phase 1. It either passes through phases 2 and 3 in order, or goes straight from phase 1 to 3 before going to phase 4 which is date stamped. At that point, the item would disappear from the data table as that one doesn't show phase 4. At each step the quantity may change slightly (the reduction or addition is random).

    So here is the challenge; unlike in the example there are thousands of rows of data to be checked. The way i check that items are matching each other is to pivot table the Data and then manually go down the list and mark off any changes on the second table.

    I have included pretty much all of the possible movements in the example book. (1-3,1-2,new arrival to phase 1,item 5 is showing that half of the quantity has been moved to phase 4 (with a date stamp sample, there are thousands of items to check each day - comparing the pivot table with the table tab and making changes to the quantities by overtyping the cells. So, what i would like to do is make a macro that would do many things really, i suppose the first step would be for someone to get me started by telling me if it's even possible.

    A macro would:

    - Check off items and quantites with no change, perhaps turning the text on the table tab a certain colour once it has successfully matched.

    - Bring up a dialog box of some sort (I do actually have an example as a userform in the example workbook). The dialog box would be asking the user to confirm the action that is needed for each item that has moved, according to which phase it's moving from. In every case, the action for the selection would be just to confirm that the quantity is to move to the reported phase column.

    * I would like the dialog box readout (or whatever the best solution ends up being), to display the query as, for example, "Item 1 moves from Phase 1 to Phase 2, quantity +200"
    To which the user would either click confirm and the table is adjusted to reflect that move, or cancels and the row is highlighted for review later.

    * In the case of a move to phase 4, would the macro be able to use the date stamp and assign a kind of rule of "if the date stamp = yesterday then make the change without asking, otherwise ask"?

    OK, i hope i haven't scared everyone away as this, to me, is massively ambitious. I'm going to be keeping an eye on this thread myself while i work on the problem so i'm looking forward to being told that "it's crazy, but it's crazy enough to work"!

    If I haven't been super clear, please don't hesitate to ask for clarity.




    http://www.mediafire.com/download/2c...Challenge.xlsm
    Last edited by jayherring86; 08-23-2013 at 05:07 AM. Reason: Spelling errors and an errant copy and paste due to slippery mouse

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Spelling errors-a macro to prompt user if a word is similar to a list and replace it
    By limebaish in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-27-2013, 04:26 PM
  2. [SOLVED] list of prompt action commands
    By slxia1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2012, 03:52 AM
  3. Replies: 0
    Last Post: 12-14-2011, 02:28 PM
  4. Dropdown List selection action checks cell value
    By new_excel_uesr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2011, 08:44 PM
  5. User prompt -> Open file -> Perform action
    By erikhs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2006, 08:55 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