+ Reply to Thread
Results 1 to 4 of 4

Run Time Error '1004' with select function

  1. #1
    Registered User
    Join Date
    06-30-2015
    Location
    Mississauga, ON
    MS-Off Ver
    MS Office 2007
    Posts
    10

    Run Time Error '1004' with select function

    Hi guys,

    I am trying to create a billing tool and I am writing macros to smooth the input steps for some of my colleagues.

    Unfortunately, I am already failing when doing simple steps. I created a command button and want to switch tabs, select cell A1 and then want to go to the first empty row.
    However, my code seems to be wrong and it marks the line with Range("A1").Select with the 1004 run time error.

    Please Login or Register  to view this content.
    I would be glad to get some responses for this topic.

    Best
    Marius

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Run Time Error '1004' with select function

    Sounds like you have cell A1 protected and it can't be selected.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Run Time Error '1004' with select function

    I think your cell A1 is protected.

  4. #4
    Registered User
    Join Date
    06-30-2015
    Location
    Mississauga, ON
    MS-Off Ver
    MS Office 2007
    Posts
    10

    Re: Run Time Error '1004' with select function

    Thanks for the prompt responses. I think that was the solution

+ 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': Method 'Select' of object'_Worksheet' failed
    By vbiggs101 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-07-2013, 02:56 PM
  2. [SOLVED] ActiveSheet.Shapes.AddChart.Select Run-Time Error '1004'
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2013, 11:30 AM
  3. Run time error 1004 select method of class failed
    By Doruli in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-14-2013, 04:50 AM
  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' on ActiveCell.Offset(1, 0).Select
    By perbags in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2010, 01:37 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