+ Reply to Thread
Results 1 to 11 of 11

Help request to get tomorrow list

  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 get tomorrow list

    Hi friends,

    Today is 31/07/2016 & there is a birthday of my friend tomorrow 01/08/2016. I’m not getting a output with tomorrow’s birthday if I run the macro on the last day of month. As a result I’m not getting a list of tomorrow’s birthday on the last month of day.

    Please see the following code and suggest me an amendment to achieve the target ‘birthday tomorrow’.

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

    Thanking you in anticipation.
    Sincerely,

    mso3

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Help request to get tomorrow list

    Try this.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    334

    Re: Help request to get tomorrow list

    Maybe something like this:
    Please Login or Register  to view this content.

    Which tests to see if date is the last day of the month, if it is then filtermonth is the month + 1 otherwise filtermonth is the current month.
    Last edited by anrichards22; 07-30-2016 at 09:56 PM.

  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 get tomorrow list

    Hi bakerman2,

    Greetings from me!

    Thank you. There is not a helping column for next month and day tomorrow for next month. So I'm not getting output.

    Is there a need to add 2 helping columns for next month and day tomorrow next month?

    Do you have any other idea to achieve the target?

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

    Re: Help request to get tomorrow list

    Hi anrichards22,

    Thank you.

    I'm getting compile error 'sub or function not define'

  6. #6
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    334

    Re: Help request to get tomorrow list

    Maybe try like this:

    Please Login or Register  to view this content.

  7. #7
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Help request to get tomorrow list

    My suggestion would be to build small userform to give user the oppurtunity to select month and begin and end date and build your filtercriteria from there on.

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

    Re: Help request to get tomorrow list

    Ok, The error has gone but no output.

    Is there a need to insert another 2 helping columns to filter next month and the next day month? And create 2 filters for it?

  9. #9
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    334

    Re: Help request to get tomorrow list

    Please Login or Register  to view this content.

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

    Re: Help request to get tomorrow list

    Post Deleted.
    Last edited by mso3; 07-31-2016 at 06:25 AM.

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

    Re: Help request to get tomorrow list

    Excellent! Now the macro is working fine as per requirement.

    Thank you and have a nice time.

+ 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. Help request to create a list with 6 columns
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2015, 01:07 PM
  2. 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
  3. [SOLVED] [urgent] request for drop list function
    By ikhtiar82 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-17-2015, 05:36 AM
  4. New Request Regarding Creating Alpha List
    By rstringer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2014, 01:10 AM
  5. Request password from a dropdown list selection
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2013, 04:27 AM
  6. Request of Password on different selections of Drop down list
    By ron2k_1 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-01-2011, 05:35 PM
  7. VBA Request - List in single cel to individual rows
    By ElizabethDawn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2008, 05:12 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