+ Reply to Thread
Results 1 to 3 of 3

Run-time Error 1004

  1. #1
    Registered User
    Join Date
    04-22-2012
    Location
    Syracuse, NY, USA
    MS-Off Ver
    Office 365
    Posts
    61

    Run-time Error 1004

    In the attached spreadsheet I'm getting the Run-time Error 1004: Method 'Range' of object '_Global' failed. When I clcik to debug is brings me to the code for the Open Form button. I have no idea what is actually causing the error or how to fix it at this point. Please help.
    Attached Files Attached Files
    Reality is stranger than fiction.

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Run-time Error 1004

    Hi,

    I found the culprit (and I have been seening this problem more frequently these days). Either use Range or Cells but not both unless you want a Range of Cells.

    So in your form you have four instances of something like this:

    Please Login or Register  to view this content.
    Change this to:

    Please Login or Register  to view this content.
    and all your problems go away.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    94

    Re: Run-time Error 1004

    Quote Originally Posted by abousetta View Post
    Hi,

    I found the culprit (and I have been seening this problem more frequently these days). Either use Range or Cells but not both unless you want a Range of Cells......
    Thanks for your reply Aboussetta! I also got the runtime error 1004, when I tried to COUNTIFS. Your answer helped me fix that
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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