+ Reply to Thread
Results 1 to 3 of 3

vba block sheet

  1. #1
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    vba block sheet

    Hello
    how to lock a sheet without a password

    Please Login or Register  to view this content.
    in this way error
    max

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: vba block sheet

    Try
    Sheets("sheet1").Select
    ActiveSheet.Unprotect Password:=""
    and
    Sheets("sheet1").Select
    ActiveSheet.Protect Password:=""
    Your sheet name for "sheet1"

  3. #3
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: vba block sheet

    Hi,
    it must work with this

    Please Login or Register  to view this content.

+ 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] Range - End if without block if error. merging sheet to sheet data transfer (help)
    By COURTTROOPER in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-18-2017, 07:09 PM
  2. add to a macro block sheet
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2014, 10:32 AM
  3. [SOLVED] Copying block of data to another sheet
    By SParikh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2014, 07:32 AM
  4. Replies: 5
    Last Post: 10-09-2012, 10:44 AM
  5. block viewing from sheet in workbook
    By shelbytherobot2 in forum Excel General
    Replies: 0
    Last Post: 12-22-2011, 01:02 PM
  6. Replies: 2
    Last Post: 06-22-2010, 07:55 AM
  7. Block an area of sheet from Printing?
    By lbbss in forum Excel General
    Replies: 4
    Last Post: 06-08-2005, 03:05 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