Results 1 to 10 of 10

Thread: Copy specific data from an excel template and paste in new workbook

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    Can you check that the information in the two templates are not exactly the same?

    EDIT: And add a back-slash for the path you specified

    "C:\Test\"
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  2. #2
    Junior Member
    Join Date
    Jun 2013
    Posts
    25
    Rep Power
    0
    I had changed the template name, cell E5 and cell D20..





    Quote Originally Posted by Excel Fox View Post
    Can you check that the information in the two templates are not exactly the same?

    EDIT: And add a back-slash for the path you specified

    "C:\Test\"

  3. #3
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Quote Originally Posted by Excel Fox View Post
    And add a back-slash for the path you specified

    "C:\Test\"
    That's already been taken care of in the code itself

    replace
    Code:
    .Range("a2").Resize(n) = k
    with

    Code:
    .Range("a2").Resize(n) = Application.Transpose(k)
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

Similar Threads

  1. Copy/Paste Excel Range/Chart into Powerpoint VBA
    By Admin in forum Excel and VBA Tips and Tricks
    Replies: 1
    Last Post: 03-13-2014, 02:59 PM
  2. Replies: 8
    Last Post: 07-01-2013, 03:52 PM
  3. Macro to copy data in specific Columns
    By Howardc in forum Excel Help
    Replies: 0
    Last Post: 04-19-2013, 10:42 AM
  4. Replies: 2
    Last Post: 04-08-2012, 09:42 AM
  5. Replies: 9
    Last Post: 09-09-2011, 02:30 AM

Posting Permissions

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