+ Reply to Thread
Results 1 to 4 of 4

If 5 days left then MsgBox "5 Days Left"

  1. #1
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    If 5 days left then MsgBox "5 Days Left"

    Greetings,
    Following macro is almost okey.
    Please Login or Register  to view this content.
    I need something like this;
    Please Login or Register  to view this content.
    Check enclosed file.
    Attached Files Attached Files
    Last edited by HerryMarkowitz; 01-12-2014 at 06:43 AM.
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If 5 days left then MsgBox "5 Days Left"

    Why is it 'almost OK'?

    What are you expecting it to give you other than what it does. i.e. correctly paint ONLY G3 yellow as opposed to G3 & G7 without the -5?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    Re: If 5 days left then MsgBox "5 Days Left"

    Solved.
    http://www.mrexcel.com/forum/excel-q...fied-cell.html

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If 5 days left then MsgBox "5 Days Left"

    So what was it about your code that was wrong?

+ 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. Averaging days ("d:h:mm") / or just converting the days to hours ("h:mm")
    By dutchstocks in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2013, 11:18 AM
  2. [SOLVED] Expanded and collapsed the rows by toggle "+" or "-" sign on left of the text
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-24-2013, 02:49 PM
  3. Applying a "Left" formula to an entire column with heading "ValueCol"
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2012, 04:14 PM
  4. Converting number of days to "months/days"
    By livemusic in forum Excel General
    Replies: 2
    Last Post: 04-11-2012, 06:36 PM
  5. Replies: 5
    Last Post: 06-26-2006, 09:23 PM

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