Xu Hướng 12/2022 # Creating New Styles In Microsoft Word / 2023 # Top 15 View | Hoisinhvienqnam.edu.vn

Xu Hướng 12/2022 # Creating New Styles In Microsoft Word / 2023 # Top 15 View

Bạn đang xem bài viết Creating New Styles In Microsoft Word / 2023 được cập nhật mới nhất trên website Hoisinhvienqnam.edu.vn. Hy vọng những thông tin mà chúng tôi đã chia sẻ là hữu ích với bạn. Nếu nội dung hay, ý nghĩa bạn hãy chia sẻ với bạn bè của mình và luôn theo dõi, ủng hộ chúng tôi để cập nhật những thông tin mới nhất.

Microsoft Word Styles are the most basic building blocks in Word. One of the first things you’ll need to learn after you master the interface and basic formatting is using the Quick Styles listed on the Home tab. Often, though, the Quick Styles don’t contain a particular Style your document needs.

If the default Microsoft Word Styles don’t fully meet your needs (for example, you need one for block quotes), you can create a new one. There are a couple of different ways to do this. I’ll start with what I think is the easiest one first.

Creating a new Style from an example

You’ll get this dialog box:

Word will automatically name this Style1; you’ll want to rename it here if you did not already do it in the previous dialog box as I did.

Word has several Style types: Paragraph, Character, Linked (which combines Paragraph and Character), Table and List. Since this is really intended to be a collection of paragraph settings, Linked isn’t really the best choice, because if I change the font style or size elsewhere in the document and apply Block Quote as a Linked Style, it’s going to change the text back to Calibri 11. The Style type Paragraph is a better choice in this instance.

If I’m typing a Block Quote paragraph and I press the Enter key, what Style do I want the following paragraph to default to? That’s the question answered here. It’s a matter of personal convenience and obviously depends on what sort of document you’re working on.

Any changes you make in formatting (see 7) will show up in this Preview window …

… and you can review the settings themselves in this window.

These settings control three things: (a) whether you can access this Style in the Styles Gallery on the Home tab (if you want to keep this one handy, leave that box checked); (b) whether you want any Styles to automatically update themselves based on manual formatting you do in your document (for example, if you altered the indentation on one paragraph that had the Block Quote Style applied to it, checking this box means that the Style itself reflects those changes, and all the paragraphs with Block Quote applied will change, not just the one you edited). I recommend leaving this one unchecked—it tends to wreak havoc in documents; (c) whether you want this Style to be available only within this document or any documents you create in the future in this template.

Creating a new Style from scratch

If you’ve got a specific set of requirements and are fairly adept with character and paragraph formatting, though, you can simply create a new Style from scratch. For this example, I’m going to create one for quoted deposition text.

You’ll get the now-familiar dialog box:

You’ll notice that I designated this to be a Paragraph Style. Since this Style is intended to control how the text indents and spaces, I want it to be independent of font settings, etc., so I can use it with any font settings in any document.

I did three things here (circled in red):

I chose a half-inch hanging indent

I selected Single spacing

I inserted 12 points of space between the paragraphs and made a point of instructing Word to insert that space even between paragraphs of this same Style.

You can preview the results in the Preview pane (circled in blue above).

How To Create A Table Of Contents In Microsoft Word / 2023

How to create a Table of Contents

Apply the built-in Heading styles to the headings in your text.

Creating a table of contents in a Microsoft Word document is a two-step process. First, identify the text that you want to appear in the Table of Contents. Second, tell Word to insert the Table of Contents. Having created your Table of Contents, you can then customize it in several ways, to suit your needs.

On this page

Identify the text that you want to appear in the Table of Contents

If these don’t appeal to you, there are several other ways to apply a style.

In the same way, apply the Heading 1 style to other major headings in your document. Apply the Heading 2 style to sub-headings, Heading 3 style to sub-sub-headings etc.

If you don’t like the way the heading styles look (eg, you want a different font or font size or colour), don’t format the text directly. Instead, modify the heading styles.

Create the Table of Contents

Word 2003 and earlier versions

Display the Table of Contents dialog. To do that:

Word 2007 and Word 2010

Choose one of the following items on the menu.

There is a built-in “Manual Table”. This takes you back to the era of the electric typewriter. If you like typing things out for no good reason and your life expectancy is a lot longer than mine, this is for you.

At the bottom of the menu, you can choose Insert table of contents. This displays the Table of Contents dialog that was also in earlier versions of Word. If you want two or more tables of contents in one document, you must choose this option for at least the second and subsequent tables of contents.

Using a table of contents content control in Word 2007 or Word 2010

You can use the content control to manage your table of contents (Figure 1).

Figure 1: A table of contents in a content control

If you attempt to insert another custom or built-in table of contents that will be placed in a content control, then the new one will over-ride the existing one. If you want more than one table of contents in a document, use the “Insert table of contents” menu option for all, or at least the second and subsequent, tables of contents.

How to create a custom table of contents and have it appear on the Table of Contents menu in Word 2007 or Word 2010

Insert your table of contents into any document, and adjust it to suit your needs.

Add text above and/or below the table of contents as required (for example, add a heading “Table of Contents”, preferably formatted with the built-in TOC Heading style).

Select the text above, the table of contents, and the text below.

In the Create New Building Block dialog:

give your table of contents a name

in the Gallery list, choose Table of Contents

in the Category list, choose ‘Create new category’ and name your new category

Word displays entries in the menu in alphabetical order by category. Sadly, there are few letters in the alphabet before the “B” for “Built-In”. If you want your custom tables of contents to appear before the Built-In category, but there is no name between “A” and “Built-In” that suits you, then put a space at the beginning of the category name. For example, name your category ” Shauna”. A space is alphabetized before a letter, so ” Shauna” will be displayed before “Built-In”.

Customize the Table of Contents (if you need to)

How to change the look of the headings in the document

Use the Document Map

How to change the look of the Table of Contents itself

To modify the Table of Contents itself, you need to display the Table of Contents dialog. To display the dialog for an existing table of contents:

From the Table of Contents dialog you can modify the Table of Contents in several ways.

By default, Word shows three levels in your Table of Contents. That is, it puts the text from Heading 1, Heading 2 and Heading 3 in the Table of Contents. If you want to show more or fewer levels, in the Table of Contents dialog, change the number in the Show levels box.

For sophisticated customization, you can edit the switches in the TOC field.

How to create a table of contents for several documents

To create one table of contents for several documents, you need to do the following.

Create a separate document to hold the table of contents (we’ll call this “the ToC document”).

For ease, put all the documents, and your ToC document, in the one folder.

In your ToC document, use an RD (Reference Document) field for each document that you want to include in your Table of Contents.

To insert an RD field, do ctrl-F9 and, within the brackets that Word gives you, type RD “filename“. For example { RD “Chapter 1.docx” }. You can’t type the curly brackets by hand. You must do ctrl-F9.

If you can’t put all your files in one folder, you must use double backslashes and double quotes. For example, { RD “C:\My folder\Chapter 1.docx” }.

Add an RD field for each document that you want to reference, in order.

Create the Table of Contents in this ToC document in the usual way.

Remember the page number rule: “The Table of Contents will pick up whatever pagination appears in your document”. It applies when using RD fields to create a ToC for many documents. You may have to set the starting page number manually in each document if you want pagination to run consecutively through your project.

Other tips about Tables of Contents

If you have Word 2003, Microsoft has some great online training about Tables of Contents available for free. See

A Table of Contents is a field, not ordinary text. To see fields in your document, you can tell Word to display fields with grey shading. The grey doesn’t print, but it reminds you that this is a field, not ordinary text. To display fields with grey shading:

Tables of Contents don’t update automatically when you add a new heading to your document. This is because a ToC is a field. To update a Table of Contents, put your cursor in the Table of Contents and press F9 to update it. Or ctrl-a F9 to update all fields in the document. In Word 2007 and Word 2010, if your table of contents is in a content control, you can use the content control to update the ToC.

When you update your Table of Contents, always choose to update the Entire Table (Figure 2).

Figure 2: Whenever you see this box, always choose the second option and update the entire table.

The Table of Contents will pick up whatever pagination appears in your document. To control page numbers, see How to control the page numbering in a Word document at the Word MVP FAQ site

If the tabs in your Table of Contents seem to have gone crazy, see Whenever I update my Table of Contents it acquires unwanted tabs, and I have to press Ctrl+Q to get rid of them at the Word MVP FAQ site

To solve the problem, select the whole of the Table of Contents (selecting a few paragraphs either side is OK). Do Shift-F9. You’ll see the field codes exposed, and they’ll look something like { TOC o “1-3” h z }. Edit these codes to remove the h. Press F9 again to re-generate the ToC and hide the field codes. (By the way, you can’t type the curly brackets yourself. If won’t work. If you want to type out the field codes manually, use ctrl-F9 to create the curly brackets.)

Note: It is also possible to create a Table of Contents by marking each individual paragraph that you want to appear in the ToC. Then, you tell Word to use your marked paragraphs to create the ToC. You do this using { TC } fields. It seems to me that the chance of human error in accidentally omitting to mark a heading is large. I wouldn’t risk it. But if you’re interested, look at Word’s help under TC.

Related pages

How to number headings and figures in Appendixes in Microsoft Word – includes information on creating a table of contents when you have appendixes in your document

How to use the Document Map in Microsoft Word – the Document Map roughly mirrors your table of contents

(Archives) Microsoft Word 2007: Creating Headers And Footers / 2023

Last updated

This article is based on legacy software.

You can create headers and footers in your Word document so that information such as the author’s name, document title, or page numbers will appear in the top and/or bottom margin of your document. You can create a header and footer that appears the same on every page, or you can customize the pages with different headers and footers.

Inserting a Header or a Footer

By default, headers and footers appear on every page of your document. Word gives you have several presets to select from; you can also begin with a blank header or footer.

Select the desired header or footer style HINT: To start with a blank Header/Footer, selectEdit Header or Edit Footer

Editing Header or Footer Content

Once you have inserted a header or footer you can edit or format the content. Additional options appear in the Header & Footer Tools Design Tab.

Edit text as desired

From the Ribbon, select additional customizing options as desired

The Header & Footer Tools Design Tab

The Header & Footer Tools Design command tab appears on the Ribbon only when an existing header or footer is active. This special command tab providing several unique header and footer formatting options.

Position Group This group allows you to adjust where your header appears on the page(s). The default setting is 0.5 inches from the top and bottom of the page.

Close Header and Footer Group From here you can exit the header/footer text box and continue editing your document.

Creating a Different First Page Header and Footer

If you want the header/footer of your document to be different on your first page, you first need to create a header or footer. You can customize headers and footers in the Header & Footer Tools Design tab, which appears only when you select a header or footer.

From the Header & Footer Tools Design command tab, in the Options group, select Different First Page The label on the first page header text box changes from Header to First Page Header.

In the First Page Header text box, insert the desired information

In the First Page Footer text box, insert the desired information

In the Footer text box, insert the desired information

In the Header text box, insert the desired information

Creating Odd and Even Page Headers and Footers

You can create different odd and even page headers and footers, which display different information on the odd and even pages of your document.

From the Headers & Footers Tools Design tab, in the Options section, select Different Odd & Even Pages

In the Odd Page Header text box, insert the desired information

In the Odd Page Footer text box, insert the desired information

In the Even Page Footer text box, insert the desired information

In the Even Page Header text box, insert the desired information

How To Create A Microsoft Query In Excel (Excel Query) / 2023

Microsoft Query allows you use SQL directly in Microsoft Excel, treating Sheets as tables against which you can run Select statements with JOINs, UNIONs and more. Often Microsoft Query statements will be more efficient than Excel formulas or a VBA Macro. A Microsoft Query (aka MS Query, aka Excel Query) is in fact an SQL SELECT Statement. Excel as well as Access use Windows ACE.OLEDB or JET.OLEDB providers to run queries. Its an incredible often untapped tool underestimated by many users!

What can I do with MS Query?

Excel Files – you can extract data from External Excel files as well as run a SELECT query on your current Workbook

Access – you can extract data from Access Database files

MS SQL Server – you can extract data from Microsoft SQL Server Tables

CSV and Text – you can upload CSV or tabular Text files

Step by Step – Microsoft Query in Excel

In this step by step tutorial I will show you how to create an Microsoft Query to extract data from either you current Workbook or an external Excel file.

Open the MS Query (from Other Sources) wizard

Select the Data Source

Select Excel Source File

Select Columns for your MS Query

Return Query or Edit Query

Return Data to Microsoft Excel – this will return your query results to Excel and complete the Wizard

View data or edit query in Microsoft Query – this will open the Microsoft Query window and allow you to modify you Microsoft Query

Optional: Edit Query

Import Data

AS you can see there are quite a lot of steps needed to achieve something potentially pretty simple. Hence there are a couple of alternatives thanks to the power of VBA Macro….

MS Query – Create with VBA

Sub ExecuteSQL() Attribute ExecuteSQL.VB_ProcData.VB_Invoke_Func = "Sn14" 'AnalystCave.com On Error GoTo ErrorHandl Dim SQL As String, sConn As String, qt As QueryTable SQL = InputBox("Provide your SQL Query", "Run SQL Query") If SQL = vbNullString Then Exit Sub sConn = "OLEDB;Provider=Microsoft.ACE.OLEDB.12.0;;Password=;User ID=Admin;Data Source=" & _ chúng tôi & "/" & chúng tôi & ";" & _ "Mode=Share Deny Write;Extended Properties=""Excel 12.0 Xml;HDR=YES"";" Set qt = ActiveCell.Worksheet.QueryTables.Add(Connection:=sConn, Destination:=ActiveCell) With qt .CommandType = xlCmdSql .CommandText = SQL .Name = Int((1000000000 - 1 + 1) * Rnd + 1) .RefreshStyle = xlOverwriteCells .Refresh BackgroundQuery:=False End With Exit Sub ErrorHandl: MsgBox "Error: " & Err.Description: Err.Clear End Sub

Just create a New VBA Module and paste the code above. You can run it hitting the CTRL+ SHIFT+ S Keyboardshortcut or Add the Macro to your Quick Access Toolbar.

Learning SQL with Excel

Creating MS Queries is one thing, but you need to have a pretty good grasp of the SQL language to be able to use it’s true potential. I recommend using a simple Excel database (like Northwind) and practicing various queries with JOINs.

Alternatives in Excel – Power Query

MS Query vs Power Query Conclusions

, however, it doesn’t entirely invalidate Microsoft Queries. What is more, sometimes using Microsoft Queries is quicker and more convenient and here is why:

You can’t re-run Power Queries without the AddIn. While this obviously will be a less valid statement probably in a couple of years (in newer Excel versions), currently if you don’t have the AddIn you won’t be able to edit or re-run Queries created in Power Query

MS Query Cons: Microsoft Query falls short of the Power Query AddIn in some other aspects however:

Power Query has a more convenient user interface. While Power Queries are relatively easy to create, the MS Query Wizard is like a website from the 90’s

Power Query stacks operations on top of each other allowing more convenient changes. While an MS Query works or just doesn’t compile, the Power Query stacks each transform operation providing visibility into your Data Transformation task, and making it easier to add / remove operations

Cập nhật thông tin chi tiết về Creating New Styles In Microsoft Word / 2023 trên website Hoisinhvienqnam.edu.vn. Hy vọng nội dung bài viết sẽ đáp ứng được nhu cầu của bạn, chúng tôi sẽ thường xuyên cập nhật mới nội dung để bạn nhận được thông tin nhanh chóng và chính xác nhất. Chúc bạn một ngày tốt lành!