+ Reply to Thread
Results 1 to 6 of 6

Need a Macro code to copy and paste cells

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    South Africa
    MS-Off Ver
    MS 365 Subscription V2403
    Posts
    17

    Need a Macro code to copy and paste cells

    I every day have to open up an Excel File that a rep created the previous day (Job Card).

    I then copy certain info from that file and then paste it in a different Excel File (Fitment List For The Year). I do this to have all the info for the different clients for the year in one Excel File.

    This is time consuming as I have to copy +/- 10 cells, each 1 at a time in the Job Card and then paste it in the Fitment File. This means I copy and paste about 10 times just to transfer info from 1 file to the other.

    I have tried using the MACROS method where you record your actions. This works great but only for the specific job card. When I try to do the same for a different Job Card the code pics up the previous Job Card’s name and does not work.

    Please help me, I would greatly appreciated it.


    P.S: I can attach an example of the 2 Files (Job Card & Job List) and indicate exactly what I am trying to explain above. I use office 2013.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: I want to cry, please help me with Macros!

    I can attach an example of the 2 Files (Job Card & Job List) and indicate exactly what I am trying to explain above. I use office 2013.
    1. yes please.
    2. your profile says you use 2007

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-12-2012
    Location
    South Africa
    MS-Off Ver
    MS 365 Subscription V2403
    Posts
    17

    Re: I want to cry, please help me with Macros!

    Job List.xlsxJob Card.xlsx

    Ok I have attached the 2 files. The cells that I highlighted in green in the Job Card file is the cells that I would copy into the Job List file.

    Thank your for your help!


    your profile says you use 2007
    Oops I must change that.

  4. #4
    Registered User
    Join Date
    11-12-2012
    Location
    South Africa
    MS-Off Ver
    MS 365 Subscription V2403
    Posts
    17

    Re: I want to cry, please help me with Macros!

    Quote Originally Posted by Fotis1991 View Post
    I want to cry with your title.

    We'd like to help you but first..

    Pls take some minutes to read forum rules and specially-in this case- rule#1 and amend your title
    Then anyone will be able to help you.
    Oops, I apologize!

    How would I amend the title?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: I want to cry, please help me with Macros!

    Use the link that i provided. See rule#1. There is the description for how to change the title there.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    11-12-2012
    Location
    South Africa
    MS-Off Ver
    MS 365 Subscription V2403
    Posts
    17

    Re: I want to cry, please help me with Macros!

    Ok so will it be possible for me to create a Macro to copy and paste cells as requested or am I living in a dream world?

+ 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. Need VBA code to copy and paste only cells with data
    By rikk1965 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2014, 10:30 AM
  2. Macro Code to Copy paste Special
    By cartica in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-04-2013, 09:31 AM
  3. Copy & paste in macro doesn't paste all cells
    By pltrapper in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2013, 09:22 AM
  4. copy and paste using macro or code
    By excellover2212 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2013, 04:53 PM
  5. Macro Code Copy Paste Error
    By FLani in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2013, 10:54 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