+ Reply to Thread
Results 1 to 6 of 6

Copy Paste from external sheet Runtime error 424 Object Required

  1. #1
    Registered User
    Join Date
    04-26-2016
    Location
    Minneapolis
    MS-Off Ver
    2013
    Posts
    21

    Copy Paste from external sheet Runtime error 424 Object Required

    I am getting inconsistencies in this working and not working

    it particularly errors out on ' Sheet2.Select'

    with the 424 error or a different error, and Runtime error '1004' Method 'Select of Object'_Worksheet' failed

    would appreciate some insight as I am still fairly new to VBA



    Sub Run_Report()

    Dim sSource_File1_Open As String
    sSource_File1_Open = Range("Willis_Med_1").Value

    Dim sSource_File1 As String
    sSource_File1 = Range("File_1.xlsx").Value

    'OPENS SOURCE FILE
    Workbooks.Open Filename:="" & sSource_File1_Open & ""

    'COPIES SOURCE FILE DATA RANGE
    Range("A2:F100").Select
    Selection.Copy


    'SELECTS SHEET 201 (EXEC SUM SOURCE) AND PASTES DATA
    Windows("" & sTemplate & "").Activate
    Sheet2.Select
    Range("A2").Select
    Selection.PasteSpecial Paste:=xlPasteAll

    Windows("" & sSource_File1 & "").Activate
    Application.CutCopyMode = False
    ActiveWorkbook.Close
    Last edited by bsquad; 11-03-2016 at 05:21 PM.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Copy Paste from external sheet Runtime error 424 Object Required

    It should be
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    04-26-2016
    Location
    Minneapolis
    MS-Off Ver
    2013
    Posts
    21

    Re: Copy Paste from external sheet Runtime error 424 Object Required

    gmr4evr1,

    Thank you for the assistance, I figured it might be something easy. I unfortunately won't be able to try it out until next week as I am trying to input some other things as well. I won't forget about this post.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Copy Paste from external sheet Runtime error 424 Object Required

    You're welcome...Good luck.

  5. #5
    Registered User
    Join Date
    04-26-2016
    Location
    Minneapolis
    MS-Off Ver
    2013
    Posts
    21

    Re: Copy Paste from external sheet Runtime error 424 Object Required

    gmr4evr1,

    I was able to test it out and it works out for the most part, I think where I am running into a different error is unrelated to this topic. But this suggestion definitely helped out.

    Thanks again.

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Copy Paste from external sheet Runtime error 424 Object Required

    No problem. If you are still having an issue, start another thread, I'm sure someone here can help you out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Runtime Error - Object Required
    By darkblueblood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 07:21 AM
  2. Runtime error 424 Object required
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2013, 09:37 AM
  3. [SOLVED] Runtime error 424 Object Required - HELP ME
    By joh46k in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-09-2013, 03:26 AM
  4. Runtime error 424 Object Required - HELP ME
    By joh46k in forum Excel General
    Replies: 1
    Last Post: 05-09-2013, 01:09 AM
  5. Runtime Error '424' - Object Required
    By ffffloyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2011, 09:52 PM
  6. Match Date and Copy Paste - Object Required Error
    By ashleys.nl in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-05-2011, 12:28 PM
  7. Runtime error 424, Object required
    By Ajain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2010, 03:50 PM

Tags for this Thread

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