+ Reply to Thread
Results 1 to 4 of 4

VBA code for last active cell to remove ordering alert?

  1. #1
    Registered User
    Join Date
    11-11-2020
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    49

    VBA code for last active cell to remove ordering alert?

    Hi

    I have this problem where I want to have an ordering alert when the total number of fruit is less than 10. I have done this by using the formula =IF($F$2<10,"Order More","")

    However, I want to be able to remove the "Order More" alert when I have received the PO (purchase order) in the last active cell.
    Is there a VBA code for this?

    I expect in my excel sheet that, the "Order More" sign will disappear when A4 (or the last active cell in column A) has the date of the PO.

    Thank you very much!

    Cheers

    Ken
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA code for last active cell to remove ordering alert?

    How about just changing your formula a bit

    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Registered User
    Join Date
    11-11-2020
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    49

    Re: VBA code for last active cell to remove ordering alert?

    Thank you so much for your help! This is brilliant! Appreciate for your time and help!

  4. #4
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA code for last active cell to remove ordering alert?

    Glad to help & thanks for the added Rep.

+ 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. [SOLVED] Multple active sheets alert
    By HPIMICHAEL02 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2017, 06:35 AM
  2. [SOLVED] Remove/Hide Active Cell Border
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-18-2016, 05:21 PM
  3. Replies: 6
    Last Post: 03-03-2014, 02:28 PM
  4. Code How to show alert messages with the IF condition based on other cell value
    By herukuncahyono in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2013, 09:51 PM
  5. Remove all code and modules from the active workbook
    By dasvas in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-09-2011, 11:26 PM
  6. [SOLVED] suppress Active X alert
    By nevpoe in forum Excel General
    Replies: 3
    Last Post: 07-11-2006, 04:55 PM
  7. Replies: 0
    Last Post: 01-12-2005, 10:50 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