Results 1 to 6 of 6

VBA to copy data to new column if date doesn't allready exist.

Threaded View

steve_jaspers VBA to copy data to new... 01-28-2015, 08:16 PM
sktneer Re: VBA to copy data to new... 01-28-2015, 11:12 PM
steve_jaspers Re: VBA to copy data to new... 02-02-2015, 04:12 AM
sktneer Re: VBA to copy data to new... 02-02-2015, 05:21 AM
steve_jaspers Re: VBA to copy data to new... 02-02-2015, 07:26 AM
sktneer Re: VBA to copy data to new... 02-02-2015, 09:11 AM
  1. #1
    Registered User
    Join Date
    01-28-2015
    Location
    moon
    MS-Off Ver
    2013
    Posts
    3

    VBA to copy data to new column if date doesn't allready exist.

    Hello guys, first post here !

    First off I know that there are a lot of similar use cases for my problem but my knowledge is just not good enough to adapt it to my situation .. so here goes ..

    I have a workbook in which the user fills in values in Sheet1 (C5:C20) and at the top of Sheet1 (C2) the user fills in the date.

    Now I would like a vba code to copy the values that have been entered into Sheet1 (C5:C20) to another sheet (Geschiedenis) like this:

    _____A_____B_____C____
    1 | date1 | date2 | date3
    2 | valu1 | valu1 | valu1
    3 | valu2 | valu2 | valu2
    4 | valu3 | valu3 | valu3
    etc...



    and here's the catch.. it has to check for that date (primary key) if there are existing values or not and if there are it should overwrite them.

    I hope I'm making sense and any of you can find the time to help a noob out ..
    My boss would be super-happy :p
    Last edited by steve_jaspers; 02-03-2015 at 10:14 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Code to paste form data to next available row if cb1 value doesn't exist in column a
    By mezza89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2014, 06:20 PM
  2. [SOLVED] Save as macro; File allready exist
    By tigergutt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2013, 09:15 AM
  3. Filtering for a certain date and Having a message pop up if date doesn't exist
    By frenchgreek in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2013, 03:38 PM
  4. [SOLVED] Counting Data Which Doesn't Exist..
    By tommyfernandez in forum Excel General
    Replies: 8
    Last Post: 07-31-2013, 02:28 PM
  5. Copy Worksheet to a new Workbook creating if it doesn't exist and add more Worksheets if it does exist
    By pete.bastin@btopenworld.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-18-2006, 01:10 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