+ Reply to Thread
Results 1 to 2 of 2

Conditional Copying of Specific Cells to a different Sheet

  1. #1
    Registered User
    Join Date
    09-28-2012
    Location
    vancouver, Canada
    MS-Off Ver
    Excel 2007&2010
    Posts
    6

    Conditional Copying of Specific Cells to a different Sheet

    I have an extensive worksheet (about 1700 lines), I want to create a macro that looks at the first column in my 2nd sheet if that column says 'Yes', I want it to copy about 5 cells in that row (say D, E, J and L) and paste them in certain cells in my 1st sheet. The thing is it has to paste them in the first empty row available in sheet 1 and it has to paste the data in different columns (say, B, D, F and K).

    I made a macro that would copy certain cells based on the first cell being 'yes' but it would paste them in in the first row of my 1st sheet and it would paste them in the first three columns.

    PS, I am new around here. Just graduated from college and started working, before this i was dealing more with macros that simply did complicated calculations. So doing this kind of work is new to me.

    Thanks guys.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Conditional Copying of Specific Cells to a different Sheet

    Hi, meme405,

    this code should give you a start-up:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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