Skip to Main Content
Writing Excel Macros with VBA, 2nd Edition
book

Writing Excel Macros with VBA, 2nd Edition

by Steven Roman PhD
June 2002
Beginner content levelBeginner
570 pages
16h 48m
English
O'Reilly Media, Inc.
Content preview from Writing Excel Macros with VBA, 2nd Edition

Name

AllowEditRange Object

Synopsis

Path: Application  --  Range  --  Worksheet  --  Protection  --  AllowEditRanges - AllowEditRange
               

Object

Methods

Properties

AllowEditRange Object

  • ChangePassword(Password As String)

  • Delete( )

  • Unprotect([Password] As Variant)

  • Range( ) As Range

  • Title( ) As String

  • Users( ) As UserAccessList

AllowEditRanges Object

  • Add(Title As String, Range As Range, [Password] As Variant) As AllowEditRange

  • Count( ) As Long

  • Item(Index As Variant) As AllowEditRange

The AllowEditRange object allows a specified range of cells on a worksheet to be password protected from editing. Once a range has been protected in this way, and the entire worksheet has been protected, any attempt at editing cells in that range will require the password.

The AllowEditRanges collection object holds the current AllowEditRange objects.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Excel 2019 VBA and Macros, First Edition

Microsoft Excel 2019 VBA and Macros, First Edition

Bill Jelen, Tracy Syrstad
VBA and Macros for Microsoft Excel

VBA and Macros for Microsoft Excel

Bill Jelen, Tracy Syrstad
Excel 2016 VBA and Macros

Excel 2016 VBA and Macros

Bill Jelen, Tracy Syrstad

Publisher Resources

ISBN: 0596003595Supplemental ContentErrata Page