+ Reply to Thread
Results 1 to 2 of 2

Getting Macros to Work with Protected Workbook

  1. #1
    Registered User
    Join Date
    09-06-2013
    Location
    Champaign, Illinois
    MS-Off Ver
    Excel 2007
    Posts
    7

    Getting Macros to Work with Protected Workbook

    Below is the macro I have that works perfectly:

    Please Login or Register  to view this content.
    Whenever I protect the workbook, the code does not work. Any suggestions?

  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
    44,522

    Re: Getting Macros to Work with Protected Workbook

    Unprotect the sheet just before you delete the row and protect it again afterwards ... is the simplest way.

    Regards, TMS
    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)

Similar Threads

  1. How to get Macros to work in a protected workbook
    By cmicoordination in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2013, 05:57 PM
  2. Macros stop to work when work sheet is protected. Run time error 1004
    By sellim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 01:14 AM
  3. [SOLVED] Macros do not work when worksheet is protected
    By a_williams in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2012, 02:36 AM
  4. Get macros to work on protected sheet
    By howsitgoing in forum Excel General
    Replies: 4
    Last Post: 01-12-2012, 02:10 PM
  5. Replies: 1
    Last Post: 09-19-2006, 02:02 AM

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