+ Reply to Thread
Results 1 to 7 of 7

Help request to pop up message for first day of month

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Help request to pop up message for first day of month

    Hi friends,

    The following code is working fine till the last day of month but not working for the first day of next month. For ex. There are 31 days in January which is the last day of January. The next date is 01/02/16 the first day of month February. In this case the code is not giving message of tomorrow’s birthday because as per the code the next day is 31+1 = 32 which is not a date. The next day is 1 the first day of February.

    So what shall I do to recognize the next day 1 instead of 32. It’s same for each last day of month.

    Please Login or Register  to view this content.
    Any help will be highly appreciated.

    Thanking you in anticipation.
    Sincerely,

    mso3

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Help request to pop up message for first day of month

    Try changing the following line
    Please Login or Register  to view this content.
    TO THIS
    Please Login or Register  to view this content.
    See if that resolves your issue.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Help request to pop up message for first day of month

    Replace this

    Please Login or Register  to view this content.
    With

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help request to pop up message for first day of month

    Hi Sktneer & Sixthsense,
    Thank you for amendment. Both the amendments are working for the current year only and not for previous and next years.

    There are 3 birthdays on 01/02/.. Here the year of birthday of each one is different but only the day and month is same for 3 contacts.

    I want a pop up message for all these 3 contacts.

    Thanking you.
    Attached Files Attached Files

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Help request to pop up message for first day of month

    Try this and see if this works...

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help request to pop up message for first day of month

    Hi Sktneer,
    Excellent! Now it's working fine.

    Thank you and have a nice day.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Help request to pop up message for first day of month

    You're welcome. Glad I could help.

+ 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] Help request to add a colored border to the message
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2016, 11:31 AM
  2. [SOLVED] Formula amendment request for month and year
    By mso3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2015, 10:46 PM
  3. Wait for winhttp request to be done (much like XML http request)
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-23-2015, 09:26 AM
  4. [SOLVED] Help request to get numbers of cards created in the message
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-17-2015, 12:06 AM
  5. pop up message request
    By slytidar in forum Excel General
    Replies: 7
    Last Post: 05-31-2014, 03:32 AM
  6. [SOLVED] Code to reminder pop message on due date request
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-03-2014, 08:31 PM
  7. [SOLVED] MESSAGE BOX ON REQUEST
    By Carolan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2006, 06:55 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