+ Reply to Thread
Results 1 to 5 of 5

Date with 10 days forward than current date.

  1. #1
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Date with 10 days forward than current date.

    Hi.

    I want to create a VBA macro. which will fill my Due_Date column with 10 days ahead than current date.

    Example : Today is 1/23/2014 , My Due date should be 2/1/2014


    I have 2 columns

    Pick_up_date which will have today date in format(mm/dd/yyyy)

    Due_Date


    Pls advise the code.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Date with 10 days forward than current date.

    Current date column A, Due date column B - have a look on the code:
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Date with 10 days forward than current date.

    try this code :
    let us say that your pick_up_Date column is in column b then the code would be :

    Please Login or Register  to view this content.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  4. #4
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Re: Date with 10 days forward than current date.

    Hi kaper.
    I tried the same, it worked perfectly...

    but I still have small prob,, my current date is with Time too..,,, so the same format is coming in due date as well
    since we just added 10 to pickupdate.

    but I need my due date format in mm/dd/yyyy only, exclude time.

    pls advise.

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Date with 10 days forward than current date.

    How about:
    Please Login or Register  to view this content.
    or:
    Please Login or Register  to view this content.

+ 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: 14
    Last Post: 04-06-2015, 09:19 PM
  2. [SOLVED] Need average of days for date values from date to current day that updates current date
    By FinGhost in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-12-2013, 04:41 PM
  3. Replies: 15
    Last Post: 06-26-2012, 07:28 AM
  4. Auto calculate for date + days forward to yield new date
    By John Sullivan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2006, 12:25 PM
  5. Replies: 2
    Last Post: 02-10-2005, 04:06 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