+ Reply to Thread
Results 1 to 4 of 4

Error 1004 Select Method of Range Failed issue for Selection

  1. #1
    Forum Contributor
    Join Date
    09-02-2013
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    368

    Error 1004 Select Method of Range Failed issue for Selection

    Hello,
    I have below code which is working up till the code highlighted in red, which really meant to select the cell where the corresponding invoice is located on the worksheet.
    I'm not sure why do I get the runtime error 1004 as per the title since I am just selecting it.
    Thank you very much for your help and input.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Error 1004 Select Method of Range Failed issue for Selection

    Is salesWks active when you select the range in code?

    If not, try activating it first before selecting a range in the sheet.
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Contributor
    Join Date
    09-02-2013
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    368

    Re: Error 1004 Select Method of Range Failed issue for Selection

    You're right CK76, I completely overlooked that important step. All working now.
    Thank you ever so much.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Error 1004 Select Method of Range Failed issue for Selection

    You are welcome and thanks for the rep

+ 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. [SOLVED] Run Time Error '1004': Select method of Range Class failed VBA
    By jcgonzales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-19-2014, 01:39 AM
  2. [SOLVED] error 1004 select method of range class failed
    By Lee_wwfc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-23-2013, 12:34 PM
  3. Run-time error '1004': Select method of Range class failed.
    By pspikym90 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-19-2012, 06:15 PM
  4. Run-time error '1004' Select method of range class failed
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-14-2012, 02:19 PM
  5. Run-time error '1004' - Select method of Range class failed
    By g10drac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2011, 08:03 PM
  6. Run-time error '1004': Select Method of Range Class Failed
    By hazza147 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-22-2010, 07:19 AM
  7. Error: Runtime 1004 - Select method of range class failed
    By additude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2008, 05:58 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