Results 1 to 6 of 6

copy a range of cells (to last row) and paste into another workbook

Threaded View

  1. #1
    Registered User
    Join Date
    11-15-2013
    Location
    dublin
    MS-Off Ver
    Excel 2010
    Posts
    3

    copy a range of cells (to last row) and paste into another workbook

    Hi,

    I have the following code and am trying to copy a range of cells and paste into another workbook, however its only pasting one cell (not the range)

    help appriciated.

    Workbooks.Open Filename:=File_Name2, Local:=True
    
    Sheets("InvestPro File").Activate
    Range("B2:G2").End(xlDown).Select
    
    
    Selection.Copy
    
    wb.Activate
    Sheets("Val Prices").Select
    Range("A11").PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:= _
    False, Transpose:=False
    Last edited by alansidman; 11-15-2013 at 11:28 AM. Reason: code tags added

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy range from one workbook, paste to next empty cell in another workbook
    By glock9mm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2013, 12:16 AM
  2. Replies: 2
    Last Post: 11-23-2012, 12:07 AM
  3. Copy and paste non consecutive cells and paste consecutively in another workbook
    By macquhele in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-12-2011, 02:36 PM
  4. Simple task: Open a workbook, copy a range, paste into another workbook
    By fbonetti in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2011, 01:12 PM
  5. Copy A Range of Cells Or Sheet and Paste to A New Workbook
    By Nathan123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2007, 09:24 PM

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