+ Reply to Thread
Results 1 to 6 of 6

Intersect on two columns to copy current date when data input

  1. #1
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    Intersect on two columns to copy current date when data input

    Hi,

    Can anyone explain why the below code will not work for multiple columns? When I change the column from only 'B' to multiple columns for some reason it doesn't work & I can't figure out why (I'm sure it's something simple) :/

    Please Login or Register  to view this content.
    Thanks guys!

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Intersect on two columns to copy current date when data input

    If you simply want the date to be placed to the right of the data you enter in Columns B and S, this code should do it.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Intersect on two columns to copy current date when data input

    I need the date entering in column C next to each cell that data is copied over via a macro into column B. The above code works fine and enters the date in only column C but I now require it to do the same for column S also when data is copied into column T.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Intersect on two columns to copy current date when data input

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

  5. #5
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Intersect on two columns to copy current date when data input

    This appears to give a 'Type mismatch' here....

    Please Login or Register  to view this content.
    Any idea why?

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Intersect on two columns to copy current date when data input

    I'm not sure why. It worked for me in a dummy sheet. Open the attachment below. Type anything in column B and column T and the date will appear. If you are still encountering problems, post a copy of your file so that I can have a closer look.
    Attached Files Attached Files

+ 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