+ Reply to Thread
Results 1 to 9 of 9

If Cell = X, Then Copy Entire Row Into A New Sheet-example file

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    Hi!!I saw a post with the same title and I need a similar thing. I want to copy the rows if in one cell is a numeric value and paste this row in a new sheet. I have a lot of sheets and I want to ejecute the same instruction to paste into a unique sheet.

    i send and example file. In this example I want to copy the rows when there're a numeric value (a value) in colum c and repite the same operation to all sheets. I want to paste the rows in Hoja4
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    Which column?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    may be i didnīt explain very well...if in colum c are numbers (in this case will be a year) then copy the entire row and paste in sheet 4 (Hoja 4).

    thanks in advance!!

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    Try this
    Please Login or Register  to view this content.

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    Please Login or Register  to view this content.



  6. #6
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    snb, i canīt ejecute your code...it give me error

    I have a new question, The "x" code run for the data I send, but, I have other files where it not run and I not sure what i have to change. the file have more colums, i send a sheet example (all have the same format)

    thanks a lot!!!
    Attached Files Attached Files

  7. #7
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    Please Login or Register  to view this content.

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    Again it's not clear what columns you are looking at

  9. #9
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    re: If Cell = X, Then Copy Entire Row Into A New Sheet-example file

    sorry!column aj, when aj is not empty (or is numeric, is the same) i want to copy all the row and paste in the sheet "Hoja4"

    Many thanks!!

+ 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