+ Reply to Thread
Results 1 to 7 of 7

copy data

  1. #1
    Registered User
    Join Date
    07-23-2015
    Location
    suisse
    MS-Off Ver
    2013
    Posts
    6

    copy data

    Hi
    in the attached file, i want to copy paste 3 cells on a monthly frequency.

    If you open the file, you can see the structure I mean:

    Each beginining of month, I copy the 3 groups of cells on the first colum on the right

    For instance, fisrt column are in s1, then at the beginning of the next month (column A are the dates), I copy S1 S2 S3 and past in T22-T23_T24
    I continue in this way up to the end of the data set.
    thanks if someone could help
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: copy data

    Could we say that every beginning of the month you need the data from column "R" to "XX" to shift 1 column on the right and down 1 month according to the date in column "A"
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    07-23-2015
    Location
    suisse
    MS-Off Ver
    2013
    Posts
    6

    Re: copy data

    not exactly.
    S2 S3 S4 cells are a block of cells that i need to replicate (formula Inside refering always to column R)

    I need to shift 1 column of the right each beginning of month.

    For instance S2toS4 are formula.

    In line 23, I see that i am in a new month (see cells A22, we begin Feb 1992). So i Need to copy S2toS3 and paste those 3 cells one column on the right (so column T).

    All block in red are just a copy past from the previous red block. But each month I shift 1 column on the right

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: copy data

    You want insert a column to shift right all columns from S to ... X and to do it manually is not good ? or do you want something special?

  5. #5
    Registered User
    Join Date
    07-23-2015
    Location
    suisse
    MS-Off Ver
    2013
    Posts
    6

    Re: copy data

    I attached some print screen with the différents steps detailed. I think my first message is not clear.
    thanks again for your help

    NB: I dont want to do it manually as I gave 1800 line and many other data. I was thinking to do it via VBA
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: copy data

    OK, try next code and comment
    When testing the code, I got some messages because there is some links to external data in the formulas: Should not happen for you ...!
    Please Login or Register  to view this content.
    Last edited by PCI; 07-23-2015 at 04:54 PM. Reason: Typo

  7. #7
    Registered User
    Join Date
    07-23-2015
    Location
    suisse
    MS-Off Ver
    2013
    Posts
    6

    Re: copy data

    great. thanks very much. I ll test it. Your have really a high level!!

+ 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. VBA code to make of copy of workbook2 and then copy data in that from Workbook1
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2015, 06:34 AM
  2. Saving copy of data and then running macro on all active worksheets in saved copy?
    By Science87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2014, 11:56 AM
  3. [SOLVED] Copy data with 4 cell interval and copy range of data like vlookup with structured output
    By Daydreams in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-23-2013, 04:08 AM
  4. Replies: 4
    Last Post: 05-20-2013, 11:37 AM
  5. Enter data, copy formulas, copy values, paste data, delete data
    By alf40 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2013, 07:23 PM
  6. Copy/Paste range of data excluding certain rows and copy to another workbook
    By HoerbigAdm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-12-2012, 02:51 PM
  7. Macro to copy Dyanmic lists then copy sheet and clear the original data
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 01: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