Cells and ranges manipulation

Range and Cells objects are used to manipulate Excel ranges and cells. These objects have many useful properties and methods that can affect the content and formatting of individual cells or ranges within a worksheet, whether the active ones or those which we explicitly specify. VBA allows you to manipulate individual cells, ranges or named ranges …

VBA objects

VBA uses objects to control Excel behavior so if you want to master this programming language and make the most of it you need to get acquainted with objects and collections, as well as with their properties and methods. In this text, I will introduce you to the most frequently used Excel objects: Application, Workbooks, Worksheets, Cells … In some of the following articles, we will deal more closely with each of them.

Allow Users to Edit Ranges

With Protect Sheet and Protect Workbook, a user can protect a worksheet or workbook so that only a person who knows the correct password can access them. However, what if we want to protect only part of the worksheet? Also, if more than one user is simultaneously working on the document, is it possible to grant them different access rights? Can the system administrator use domain rights for this purpose? Meet the Allow Users to Edit Ranges option.

Styles

Excel styles are a useful way to define certain features of cell content formatting and give them a name, so that we can later use them more easily to format similar tables. For example, a style with the title “Header” can be used to format the headers of all the tables we make. Once saved style can be applied multiple times, and the subsequent change of style automatically changes and the formatting characteristics of all the cells in which the style is applied.