+ Reply to Thread
Results 1 to 2 of 2

Run-time error '1004'; Unable to set the Locked property of the Range class

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    51

    Run-time error '1004'; Unable to set the Locked property of the Range class

    Hi Friends,

    I have a below code in which i get an error (Run-time error '1004'; Unable to set the Locked property of the Range class) while running it:

    Please Login or Register  to view this content.
    I got an error in yellow highlighted line of code

    Can anyone help me out in this thing.

    Regards,
    HD

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Run-time error '1004'; Unable to set the Locked property of the Range class

    Change 'Me.' into 'ActiveSheet.'
    Please click the * below if this helps

+ 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. Run-time error'1004': Unable to get the Interior property of the Range class
    By Kwame001 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-06-2013, 11:17 AM
  2. [SOLVED] Run-time error '1004' Unable to set the Locked Property of the Range Class
    By medakiva in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2013, 09:13 AM
  3. [SOLVED] Run time error 1004: Unable to set hidden property of range class
    By SAVIOBLUEFOX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-06-2013, 10:38 AM
  4. Run - time error '1004': Unable to get the Sum property of WorksheetFunction class
    By dylanrose in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2013, 10:25 AM
  5. Run-time error '1004' Unable to set the Locked Property of the Range Class
    By Jerums in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 03-04-2013, 04:22 PM
  6. Run-time error 1004; "Unable to set the Hidden property of the Range Class"
    By danimal_time in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2012, 01:06 PM
  7. Help Please w/ Run-time error '1004' Unable to set the Hidden property of the Range Class
    By ExcelNewbie2534 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2012, 07:38 PM
  8. Run-time error 1004: Unable to set the hidden property of the Range class.
    By seabee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2011, 05:09 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