Results 1 to 11 of 11

to copy paste the entire row to the new sheet

Threaded View

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    42

    to copy paste the entire row to the new sheet

    hi,
    i m unable to paste the row to the new sheet here is the code below:

    Sub last_row_column()
    Dim lastRow As Integer
    Range("B1000000").End(xlUp).EntireRow.Copy
    Worksheets("MasterSheet").Activate
    ActiveWorksheets.Cells(lastRow + 1, 1).PasteSpecial


    in this i have search for the last row filled
    the row is then copied
    the issue is that i have to paste it to the sheet naming "MasterSheet" but i m unable to do this.
    please help.
    Last edited by arlu1201; 04-12-2013 at 04:24 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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