+ Reply to Thread
Results 1 to 17 of 17

Automatically move data from one cell to another

  1. #1
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Automatically move data from one cell to another

    Hello,

    I have on my worksheet i have two columns Named "Last Session" (L) and "Next Session" (M) both columns contain dates. what i am trying to do is , if the date in column M = today's date then have it automatically move to column L. everything i have tried has not worked and am out of ideas.

    any help would be much appreciated.

    Thanks

    Nick

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    Try your requirements on Sheet 1 of this attachment to see if it does what you need.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    Hi John,

    Thanks for replying to my thread. it works if i enter today's date into column M but if the date was entered before today then it don't move. Also i cant see how you did it. i can see =today() but nothing else.

    Thanks

    Nick

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    You stated " if the date in column M = today's date then have it automatically move to column L. " Do you want everything prior too todays date moved as well? BTW I used a worksheet event code on Sheet1, if you want too explore.

  5. #5
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    sorry i should have explained better. yes any prior dates to be moved. the dates that need moving will already have been entered before todays date.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    So you want dates prior too Today moved? Not including Today? Or including Today?

  7. #7
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    i have attached an image with some dates to show what i am trying to do.
    ExcelDates.png
    Attached Images Attached Images

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    Okay. Try this one then?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    didn't work when i change the date on my pc nothing happens with the date and when i click on the cell i get this error message

    datescreenshot.png

  10. #10
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    It worked on mine when I tested it, did you modify the file. That's the first time I've encountered that Error Message. See below for detailed information.

    https://msdn.microsoft.com/en-us/lib...(v=vs.60).aspx

  11. #11
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    no i didn't modify the file. i tried to add it to mine the got the popup.
    2015-02-13_1444.png

  12. #12
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    Can you attach a sample file with data?

  13. #13
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    yeah sure here is the file i am working on
    Attached Files Attached Files

  14. #14
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    Works for me when I tested it on your sample. Did you place the code in the Sheet Event Code for Sponsor data? Did you save you file as .xlsm? I can't duplicate your errors.

  15. #15
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    hi yes i placed it in the right sheet and is saved as .xlms

  16. #16
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move data from one cell to another

    .xlsm or .xlms?

  17. #17
    Registered User
    Join Date
    02-12-2015
    Location
    london
    MS-Off Ver
    office 2013
    Posts
    9

    Re: Automatically move data from one cell to another

    sorry typed it wrong .xlsm

+ 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. Automatically move cell data
    By SuddenImpact in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 07:39 AM
  2. Automatically move a row of data based on cell value
    By mmogharreban in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-16-2013, 02:37 PM
  3. automatically move left one cell after data input by scanner.
    By dgbillings in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2010, 10:58 PM
  4. Replies: 7
    Last Post: 12-18-2005, 09:22 PM
  5. [SOLVED] Move cell data to another worksheet cell automatically.
    By Alan in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-09-2005, 07:05 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