Results 1 to 3 of 3

Thread: [RESOLVED] what is the vb code to copy rows from one sheet to another?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2006
    Posts
    25

    Resolved [RESOLVED] what is the vb code to copy rows from one sheet to another?

    Can someone please help tell me what is the correct syntax/ie vb code
    to copy a entire row from one sheet to another?

    Pretend I have two sheets and want to copy an entire row from sheet2
    to sheet one , what is the code to do something like this?

    Is it something like this WORKsht.Cells(wRow) = DATAsht.Cells(wRow)?
    I really have no idea, if anyone knows ?

    Thanks
    Last edited by Hack; May 26th, 2006 at 06:43 AM. Reason: Added [RESOLVED] to thread title and green "resolved" checkmark

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: what is the vb code to copy rows from one sheet to another?

    Macros are your friend.. record a macro of what u need to do then check the code
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2006
    Posts
    25

    Re: what is the vb code to copy rows from one sheet to another?

    Quote Originally Posted by Static
    Macros are your friend.. record a macro of what u need to do then check the code
    thanks it worked! much simpler to record a macro and then copy/edit the code to suit my needs than to figure out how to write the code from scratch!!!

    why did i think of this earlier??

    thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width