Results 1 to 10 of 10

Copy data from diff workbook

Threaded View

  1. #1
    Registered User
    Join Date
    08-16-2010
    Location
    INDIA
    MS-Off Ver
    EXCEL 2010
    Posts
    53

    Copy data from diff workbook

    I Hv used following code to copy data from different work book, but is giving me a error.

    Please help in resolving the same.

    Sub Macro4()
    
        Application.ScreenUpdating = False
    
        Workbooks("c:\test\book2.xls").Worksheets(1).Range("B2:C3").Copy
        Workbooks("c:\test\book1.xls").Worksheets(1).Range("b2:c3").Paste
        
        Application.ScreenUpdating = True
        
    End Sub
    Last edited by arlu1201; 11-08-2012 at 07:31 AM. Reason: You should put code tags for first post.

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