+ Reply to Thread
Results 1 to 2 of 2

Run time Error 1004 Method 'Range' object '_Worksheet 'failed

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    1

    Run time Error 1004 Method 'Range' object '_Worksheet 'failed

    I am getting an error as Run time Error 1004 Method 'Range' object '_Worksheet 'failed. please help below is my code

    Please Login or Register  to view this content.
    Last edited by arlu1201; 07-24-2013 at 07:23 AM. Reason: Use code tags in future.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Run time Error 1004 Method 'Range' object '_Worksheet 'failed

    Hi,

    Untested but perhaps

    Set rSearch = Sheet1.Range("g2:" & Range("g65536").End(xlUp).Address)
    or
    Set rSearch = Range(Sheet1.Range("g2"), Sheet1.Range("g65536").End(xlUp))

+ 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] Runtime error 1004: Method 'Range' of object '_Worksheet' failed
    By Phil Payne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2013, 01:30 AM
  2. [SOLVED] error 1004 Method 'Range' of object '_Worksheet' failed when selecting multiple ranges
    By Edejager in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2013, 07:51 AM
  3. me too - run-time error '1004' method 'range' of object '_worksheet' failed
    By ASAFSWIS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2013, 05:14 PM
  4. [SOLVED] Name a dynamic range - Run-time error 1004 Method 'Range' of object'_Worksheet' failed
    By DavidBW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-03-2012, 08:00 AM
  5. Receiving runtime error 1004: Method 'Range' of object '_Worksheet' failed
    By DrShocktopus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2010, 10:39 AM

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