+ Reply to Thread
Results 1 to 10 of 10

Low Stock Pop-Up Alert

  1. #1
    Registered User
    Join Date
    01-21-2016
    Location
    South East
    MS-Off Ver
    2013
    Posts
    19

    Lightbulb Low Stock Pop-Up Alert

    Hi All,

    I'm trying to create a "message box" or "pop out window" to alert a user when the stock is low on the spreadsheet? I have already put in place the conditional formatting for individual cells to turn red etc etc, but I cant find any VBA help regarding the pop up alert.

    All it needs to read is "Stock is Low - Please Order/Check Stock" and for there to be an "OK" only option. It would be ideal if, on pressing OK, it would send an email to our engineer as a reminder. Also it is in cell range C10 to C1000.

    Any help is appreciated

    Many thanks,
    Henry

  2. #2
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Low Stock Pop-Up Alert

    It can be done rather easily by displaying a Msgbox("message goes here") based on a conditional target range; however, I believe the details you've provided would be a bit sparse to provide you code that would work as required without an example spreadsheet. An Input box that would trigger an additional event could be adapted to your parameters as well.

    Can you upload a workbook that I would write code for? Note that I or anyone undertaking this project would require two sets of cells: C10 to C1000 (stock values) and an additional range of cells that defines "too low" or a range with initial values and a fixed (or variable) percentage the stock can drop.

    If you provide both an example workbook and the required info. to validate "too low", I can make some progress for you.
    <---If my answer helped, please click *

  3. #3
    Registered User
    Join Date
    01-21-2016
    Location
    South East
    MS-Off Ver
    2013
    Posts
    19

    Re: Low Stock Pop-Up Alert

    Hi Joe,


    Thanks for the response. Sorry, I should have put some more info. I cant attach the actual document but I have made a small example of what it is like - be it fake data and less items.

    (Anything under 1 triggers red font on the conditional formatting).

    Thanks,
    Henry
    Attached Files Attached Files
    Last edited by R1_Canuck; 03-02-2016 at 10:38 AM.

  4. #4
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Low Stock Pop-Up Alert

    So you want a message box to display an alert whenever the column C value (of an occupied row of data, from column A) is below a certain threshhold (using this example, 1) and you'll adapt from there?

    I can then call an empty subroutine (with the row of data from which you can extract stock information as an argument of datatype: Range) that you can develop which would send an e-mail using Outlook. I don't have Outlook so I can't debug a subroutine for you, but I can point you towards a very thorough resource a guru on this forum developed: http://www.snb-vba.eu/VBA_Outlook_external_en.html#L112

    I was resolving some malware issues earlier today so I only popped on here for a moment, but I expect I'll write you a quick program to do what I mentioned above.

  5. #5
    Registered User
    Join Date
    01-21-2016
    Location
    South East
    MS-Off Ver
    2013
    Posts
    19

    Re: Low Stock Pop-Up Alert

    Yes that is exactly what I want... If you really would do the formula or VBA for this I would appreciate it massively.

  6. #6
    Forum Contributor
    Join Date
    04-29-2012
    Location
    nuneaton, England
    MS-Off Ver
    Office 365
    Posts
    369

    Re: Low Stock Pop-Up Alert

    Hi, is this what you are after
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-21-2016
    Location
    South East
    MS-Off Ver
    2013
    Posts
    19

    Re: Low Stock Pop-Up Alert

    Hi Wayneg,

    That is pretty damn close to what I've wanted to create, I'm going to have a play with your VBA in my spreadsheet and see how it goes...

    Thanks !!!

  8. #8
    Registered User
    Join Date
    12-31-2018
    Location
    dubai
    MS-Off Ver
    2010
    Posts
    2

    Re: Low Stock Pop-Up Alert

    Hi
    can i have this with more range with cell value,i can add more item, i try to add this for another excel sheet it didn't work. i don't know much about this
    Last edited by upul13; 01-03-2019 at 03:51 PM.

  9. #9
    Registered User
    Join Date
    12-31-2018
    Location
    dubai
    MS-Off Ver
    2010
    Posts
    2

    Re: Low Stock Pop-Up Alert

    Hi wayneg

    can you add working indexmatch with email vbn and formula to below what i mentioned-

    cell b col 2 cell c col 2 cell d col 2 cell e col 2 cell f col 2 cell g col 2 cell h col 2 cell i col 2 cell j col 2
    REORDER (auto-fill) ITEM NO DATE OF LAST ORDER ITEM NAME DESCRIPTION Minimum Quantity Stock REORDER LEVEL Maximum Quantity Stock ITEM REORDER QUANTITY


    thanx lot

    upul

  10. #10
    Registered User
    Join Date
    01-11-2019
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    1

    Re: Low Stock Pop-Up Alert

    Hello upul,

    Did you solve the the problem? I am also facing the same problem right now.

+ 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: 31
    Last Post: 10-28-2015, 01:54 AM
  2. Urgent help for pop up alert on stock control
    By Gunner_gav in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-18-2013, 02:32 PM
  3. Replies: 0
    Last Post: 10-10-2013, 05:14 AM
  4. [SOLVED] Stock Control - Alert user to low stock levels.
    By Kaies in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2013, 08:56 AM
  5. Replies: 4
    Last Post: 01-29-2013, 02:26 AM
  6. Replies: 0
    Last Post: 10-28-2012, 07:22 AM
  7. New message alert... doesn't ALERT me very well
    By Xx7 in forum Outlook Formatting & Functions
    Replies: 6
    Last Post: 07-20-2011, 03:54 PM

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