+ Reply to Thread
Results 1 to 3 of 3

macro need to copy & paste the date mentioned in a column for all the values

  1. #1
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    macro need to copy & paste the date mentioned in a column for all the values

    Hi CHAMPS,

    I have a data set, say A:Z in which the dates are entered in A column.......
    After date in A1, i have the data for the particular date below

    eg: 12/10/2014 in A1 and data in A2:Z100

    then 2nd data and 3rd data for other dates.

    two or one blank rows is inserted to diferentiate data sets with dates.

    Now i need to insert in A column and add the corresponding date to the data set.

    eg: 12/10/2014 should be in A2:A100 for the for the first data set and so on..


    i have added the sample. pls help me. Thanks in advance.


    sample.xlsx

  2. #2
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    Re: macro need to copy & paste the date mentioned in a column for all the values

    can any one help on this PLEASE?

  3. #3
    Registered User
    Join Date
    05-27-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: macro need to copy & paste the date mentioned in a column for all the values

    In Cell A1 you have 26/11/2014 in the sample file.
    You said that data will be in A2:Z100.
    But actually only Column A is used in the sample file.
    Col B to Col Z have no data in the sample file.

    And..first set of data is from A2:A670 in the sample file and it does not stop with Row 100.
    .
    In the sample file, after some sets one blank row is inserted, but in other sets more than one blank rows are inserted.
    Why this difference?

    You already have data in A1.
    But you say :"Now i need to insert in A column and... ... ...... ..
    eg: 12/10/2014 should be in A2:A100 for the for the first data set and so on.."

    So, are you planning to overwrite the existing data in the range A1:A670?

    Instead of mentioning that you want to insert a particular set of data in Col A, it is better if you give detailed description of what data you have, what you actually want to enter in Excel, what you will be retrieving from that Excel Sheet etc., then some expert will surely help you.
    Mention only your problem.
    The solution will be suggested by Experts.

+ 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. [SOLVED] macro to copy and paste as values with column with and row height also
    By Shellybelly in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-08-2014, 12:51 AM
  2. Macro: Copy/Paste values From Column to Next Blank Row
    By Lisseth225 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-23-2014, 05:39 PM
  3. [SOLVED] Macro to copy and paste only unique values from one column to another column in same sheet
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2014, 05:44 AM
  4. Replies: 4
    Last Post: 10-11-2012, 12:44 AM
  5. Macro that will copy values in Column J and paste values to Column B in new sheet
    By Phixtit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2010, 04:56 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