+ Reply to Thread
Results 1 to 8 of 8

Macro Giving Error On Protected Sheet

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    32

    Question Macro Giving Error On Protected Sheet

    Hello friends kindly help me i've many sheets and macros in my workbook. Everytime i open my file it'll automatically run MACROS from (ThisWorkBook).

    Here is the code

    Please Login or Register  to view this content.

    If i unprotect my Sheet11 then it's working fine but when i'm trying to protect this Sheet(Sheet11), it'll give me error.

    Sheet11 code

    Please Login or Register  to view this content.

    kindly help me please

    thanks in advance
    Last edited by isc0rpi0; 03-05-2013 at 06:26 AM.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Macro Giving Error On Protected Sheet

    Hi, isc0rpi0,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code in [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    02-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro Giving Error On Protected Sheet

    Thanks for letting me know i'll keep that in mind

    Quote Originally Posted by HaHoBe View Post
    Hi, isc0rpi0,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code in [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Ciao,
    Holger

  4. #4
    Registered User
    Join Date
    02-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro Giving Error On Protected Sheet

    got solution from some random thread thanks a lot guys

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro Giving Error On Protected Sheet

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  6. #6
    Registered User
    Join Date
    02-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro Giving Error On Protected Sheet

    will do that in future

    Quote Originally Posted by arlu1201 View Post
    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro Giving Error On Protected Sheet

    What about this thread? What if someone is looking for the solution?

  8. #8
    Registered User
    Join Date
    02-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro Giving Error On Protected Sheet

    Please Login or Register  to view this content.
    Last edited by isc0rpi0; 03-12-2013 at 11:48 AM.

+ 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