+ Reply to Thread
Results 1 to 2 of 2

pasting form 1 sheet to another

  1. #1
    Registered User
    Join Date
    06-12-2006
    Posts
    29

    pasting form 1 sheet to another

    got a slight problem pasting info from 1 sheet to a specific place on another sheet.
    heres what i tried (which doesnt work!)

    Sub Macro1()

    Dim endcell As Integer
    Dim endcell2 As Integer

    Sheet1.Select
    endcell = Range("A1").End(xlDown).Row

    Range("A1:B" & endcell).Select
    Selection.Copy' copys just the 2 colums of info

    Sheet3.Select
    endcell2 = Range("A1").End(xlDown).Row
    endcell2 = endcell2 + 1
    newcell = endcell + endcell2
    ActiveSheet.Paste Destination:=Worksheets("Sheet3").Range("A & endcell2 :B & newcell")

    tried to copy in the information into sheet3, (sheet3 already contains info). Have no problem doing it when no info is in sheet3, but have probs when there is already info in.

    pls can anyone help?

    thanks




    End Sub

  2. #2
    Registered User
    Join Date
    06-12-2006
    Posts
    29
    wups, worked it out myself!
    wrong speechmarks

+ 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