double brackets in word

Understanding Double Brackets in Word: A Comprehensive Guide

By Olivia White
AD

Double brackets are a peculiarity in the realm of Microsoft Word that can often cause confusion due to their dual nature. On the one hand, they serve as a simple text formatting tool; on the other, they can traverse into the territory of advanced programming within Word's Visual Basic for Applications (VBA) environment. Let's delve into understanding double brackets in Word, their uses, and the potential pitfalls they might present.

Double brackets, whilst not as common as single brackets ({}) or the curled bracket braced pairs ({ and }), play a significant role in Word's functionality. The key to understanding them lies in discerning their dual role—text formatting and VBA intimidation.

Understanding Double Brackets as Formatting Tool

In the context of Word's text formatting, double brackets ({}) when used alone serve a unique purpose. They assist in creating bookmarks, making navigation through long documents easier. By setting a specific portion of the text as a bookmark using double brackets, users can swiftly move to that segment by referring to the bookmark's name, enhancing documentation and editing efficiency.

AD
two different types of numbers are shown in this graphic above the words for each number
two different types of numbers are shown in this graphic above the words for each number
Fillable 5 Team Double Elimination - Editable Tourney Bracket
Fillable 5 Team Double Elimination - Editable Tourney Bracket
Brackets | When To Use Brackets in English Language
Brackets | When To Use Brackets in English Language

A basic example of this would be to create a bookmark around the title of a section or a chapter. By naming the bookmark 'Chapter1Title', users can navigate to this chapter's title just by typing { Chapter1Title }.

Using Double Brackets to Create Bookmarks

To make a bookmark, place the cursor where you want the bookmark to start. Type { and then give your bookmark a name. The name can include letters (a–z, A–Z), numbers (0–9) or underscores (_), and it must be enclosed within double quotes. For instance, { "Chapter1Title" }.

the words brackets on a gray background
the words brackets on a gray background
Brackets Black Icon Symbol Download PNG
Brackets Black Icon Symbol Download PNG
nightmare and daydream bracelets
nightmare and daydream bracelets

Now, to navigate to that bookmark, simply type {Your Bookmark Name} and press Enter. In our example, {Chapter1Title} would take you to the title of Chapter 1.

The { NOMARK } Command

Double brackets also facilitate removing bookmarks from a text. The { NOMARK } command deletes any bookmark that corresponds to the letters in the double brackets. For instance, {NOBOOKMARK} deletes bookmarks named "N", "O", "B", "O", "O", "K", "M", and "A".

AD

Beware, however, these commands aren't case-sensitive. So, {nomark} would also remove all bookmarks starting with any of these letters, regardless of their case.

How and When To Use Brackets in Grammar [ ]
How and When To Use Brackets in Grammar [ ]
printable bracket for women's world cup | Template Business PSD, Excel, Word, PDF
printable bracket for women's world cup | Template Business PSD, Excel, Word, PDF
TOP/BOTTOM double stack
TOP/BOTTOM double stack

Double Brackets in VBA - Expanding Word's Functionality

The role of double brackets extends beyond simple formatting. Those in the know can leverage them to access VBA (Visual Basic for Applications) commands, opening up a treasure trove of functionalities. As good as this sounds, it's also where the complexity begins. Improper use or lack of knowledge can lead to disastrous document corruption.

For instance, enclosing a specific command within double brackets allows for execution of that command. However, not all commands work within this format. Care should be taken to ensure the command within the brackets is correctly structured and authenticated. Any inaccuracy could result in issues ranging from slow performance to total file corruption.

AD

Menus - Executing Commands with Double Brackets in VBA

A commonly used command is { MENUBAR }, which displays the toolbar. {Menubar}When used correctly in VBA, double brackets can execute a variety of commands, significantly boosting productivity. For instance, { MENUBAR } displays the toolbar. However, this utility is delicate and requires careful handling.

Incorrect use can result in Word's Menubar displaying all the time, leading to handling inconveniences. Again, as an example, an incorrect command like { Menubar Close } could lead to unexpected results, potentially leaving the Menubar open indefinitely until the document is closed.

User Forms - Another Layer of Word's Functionality

VBA user forms, when invoked using double brackets, also have the potential to improve productivity. A well-designed user form can streamline tasks, consolidating multiple commands into a single, user-friendly interface.

AD

However, developing and executing such forms requires expertise in VBA development. Incorrect use can lead to forms loading incorrectly, or worse, crashing Word and potentially impacting your entire system. Thus, while offering powerful tools, double brackets are a double-edged sword, lending control but also inviting potential complications.

In the exploration of double brackets in Word, it becomes apparent that this unassuming symbol unfolds from a simple text formatting tool to a gateway into VBA's vast functionalities. While they can enhance productivity, they require a careful, knowledgeable hand to unlock their true potential without risking documents' integrity. Navigating double brackets effectively, therefore, distinguishes Word users from Word power-users, marking a leap in proficiency and efficiency.

AD