+ Reply to Thread
Results 1 to 4 of 4

Date will not update when macro is run

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Date will not update when macro is run

    When I run the macro posted below, everything works fine with the exception of the date. The date copys to the correct page and cell but copys the previous date posted and not the date being copied ie if I try to post todays date it will copy yesterdays date.



    Please Login or Register  to view this content.
    Jim O

    To clairify a bit Cell E10 contains a date and cell G10 contains a number. the number copies fine but the date will not update.

    Hope this helps.

    Jim O
    Last edited by JO505; 11-10-2012 at 04:56 PM.

  2. #2
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    927

    Re: Date will not update when macro is run

    What is this script supposed to do ?
    Please Login or Register  to view this content.
    As it is it overwrites the last date copied ("B" & NR) with the one in the previous above cell ("B" & NR - 1).
    Last edited by rollis13; 11-10-2012 at 04:42 PM.

  3. #3
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Date will not update when macro is run

    That does the trick. I copied the general macro from another sheet and overlooked that.

    Thank you for your time with this.

    Jim O

  4. #4
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    927

    Re: Date will not update when macro is run

    Glad being of some help .

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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