+ Reply to Thread
Results 1 to 2 of 2

Run-time error '1004' - Select method of Range class failed

  1. #1
    Registered User
    Join Date
    12-08-2011
    Location
    Brisbane, Queensland
    MS-Off Ver
    Excel 2007
    Posts
    1

    Unhappy Run-time error '1004' - Select method of Range class failed

    Hi,

    I am getting this error when I run my (below) macro from a button. When I run the macro by itself (not via button), I don't get the error. I am using VBA in Excel 2007.

    Please Login or Register  to view this content.


    Any clues as to what I may have done wrong.
    Last edited by TMS; 12-08-2011 at 08:04 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,527

    Re: Run-time error '1004' - Select method of Range class failed

    Welcome to the forum. In future, please use code tags around your code.

    I've changed it for you this time.


    What sheet is selected when you run the code from the button?

    Try:

    Please Login or Register  to view this content.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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