If you are using Word 2003 or earlier, I hope to share a much longer macro with you in a few weeks that does something similar but without the formatting. Click on the Developer tab on the Ribbon and you’ll see the Form Controls as depicted below.NOTE: These instructions only work for Word 2007 and later they use Building Blocks, which are only available in these versions of Word. In the Customize section, scroll through the list and insert a check mark next to Developer. Click the Ribbon button on the bottom row on the right-hand side. Click on the Word menu and select Preferences.Add a column to the right of the selected cells. Add a row below the selected cells. For example, copy the numbers below, and paste them onto a worksheet.Add a row above the selected cells.So you need to add something to the template that allows them to press a couple of keys and get both a preformatted table and an automated caption inserted.Answer: Select the text that you wish to strikethrough. Select to enter the row before (above) or after (below) the selected row.You need to make it easy for your authors to insert many tables in their documents. Delete selected rowsPDFs can also be a good choice, but beware that Word will only insert the. Option-drag in the bottom-right corner of the table. Add or remove rows and columns with content.
Click on The tables all need to be formatted the same — same header row shading, height alignment and style same border color and width same table row height, alignment and style. Check the Strikethrough checkbox. When the Format Cells window appears, select the Font tab. While your mouse is over the selected text, right-click and then select 'Format Cells' from the popup menu. The caption is to include the chapter number and a sequential caption number (e.g. On the contextual Layout tab, click Insert Above or Insert Below, accordingly, in the Rows & Columns group.Your template uses outline heading numbering, so you want a table caption to be inserted at the same time as you insert the table. Merge cells) without those modifications affecting anything else.Click anywhere inside a row above or below where you want to insert the new row. This solution may be better for those who don’t want to fiddle with macros and code — it’s very much quicker too. UPDATE 2016: You *can* get the caption inserted with a Quick Table — you just have to select the table AND its caption when creating it and the caption is added automatically (and adjusts the table numbering) when you insert the Quick Table. So this solution takes Quick Tables a couple of steps further. SolutionWhile Quick Tables are an option, you won’t get the caption inserted with them. set the row heights for the table header row and the table rows apply the relevant styles to the table header row and the table rows I suggest you create a table that’s four column by five rows — authors can add/remove rows and columns later. Create a table in your template and format it as you want. Open your Word template — the template itself, NOT a document based on the template. ![]() Insert Row Below In Word 2011 How To Turn It(Here’s how to turn it on in Word 2007 and Word 2010.) Go to the Developer tab. Delete the table from your template, if required.Step 3: Create a macro that inserts the table and its caption Changing the saved location is CRITICAL as you want to share this table with all users of your template as far as I know, Building Blocks.dotx is a local file on each person’s local machine and it’s not easy to transfer building block entries from one machine to another. In between Sub Table() and End Sub, paste the code you just copied. Copy the code in the yellow box below — copy it all some is not displayed fully, so make sure you drag your cursor over the entire set of code when you copy it. Corporate_template.dotm (template)). Click the drop-down box for Macros in and change the setting to your template (e.g. This code has a hyphen ( wdSeparatorHyphen) as the separator between the chapter number and the sequential table number — you can change it to something else. Close the Visual Basic window and save the template (don’t close it yet).' Insert Table from Building Blocks in template, insert auto caption with chapter numbering.NumberStyle = wdCaptionNumberStyleArabicSelection.InsertCaption Label:="Table", TitleAutoText:="", Title:="", _Position:=wdCaptionPositionAbove, ExcludeLabel:=0ActiveDocument.AttachedTemplate.BuildingBlockEntries("corporate_table" _).Insert Where:=Selection.Range, RichText:=TrueOther changes you might want to consider: Other suggested changes are listed below the macro. You’ll need to change the name of the BuildingBlockEntries from “ corporate_table” to the name of your Building Block. Word 2010: File > Options > Customize Ribbon. Word 2007: Office button > Word Options > Customize (or click the little drop-down arrow to the far right of the Quick Access Toolbar) When the caption is inserted, it automatically adds three spaces after the table number and inserts , which is selected ready for the author to change it — if you don’t want the three spaces, or the text, change them within the double quote marks on the Selection.TypeText Text:=” ” line.Step 4: Assign the macro to a key combinationTo make it easier for your template’s users, assign this macro to a key combination so they can just press a couple of keys to get a formatted table with its caption inserted every time. Cisco vpn anyconnect mac downloadClick in the Press new shortcut key field. In the list of macros on the right, select Table. Scroll down the Categories list (on the left) to the end, then select Macros. ![]() Distribute your template to your authors and let them know how to insert a table the quick way using the key combination you assigned. Next, open a new document based on the template and test out the key combination there too. Now delete those tables you just added and save and close the template.
0 Comments
Leave a Reply. |
AuthorSung ArchivesCategories |