+ Reply to Thread
Results 1 to 3 of 3

Copying data from another workbook using VBA

  1. #1
    Registered User
    Join Date
    10-08-2010
    Location
    North Yorkshire, England
    MS-Off Ver
    Excel 2003
    Posts
    69

    Copying data from another workbook using VBA

    Hello

    I know this should be relatively straightforward but the following macro doesn't complete the final step insofar it's not pasting to the destination point

    Appreciate your help as always

    HTML Code: 

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Copying data from another workbook using VBA

    Turn off the On Error Resume Next line and see which line is causing an error to occur.

    Also, please note the difference between code tags and html tags. Code tags make code much easier to read.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,787

    Re: Copying data from another workbook using VBA

    I'm a bit unsure about your code, should not

    Please Login or Register  to view this content.
    be written as:

    Please Login or Register  to view this content.
    Alf

+ 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