Placeholder Image

字幕列表 影片播放

由 AI 自動生成
  • - What I'd like to do is add a title to this document.

    - 我想做的是給這個文件添加一個標題。

  • And I'm actually starting

    而我實際上已經開始

  • with the insertion point right there.

    嵌入點就在那裡。

  • That's where it was when the document was opened.

    這是它在打開文件時的位置。

  • And after I've inserted a title

    而在我插入了一個標題之後

  • I also then want to insert today's date.

    然後我還想插入今天的日期。

  • And I want to make sure that I modify

    而且我想確保我修改

  • all of the text by applying our styles to this document.

    通過將我們的樣式應用到這個文件中,所有的文本都是如此。

  • Let's begin by firing up the macro recorder.

    讓我們從啟動宏記錄器開始。

  • Three different ways I can do this.

    我有三種不同的方法可以做到這一點。

  • I can go to the Developer tab and choose Record Macro.

    我可以到 "開發人員 "標籤,選擇 "記錄宏"。

  • I can go to the Review tab and choose Macros, Record Macro.

    我可以到 "審查 "標籤,選擇 "宏","記錄宏"。

  • And both of those choices give me Pause button

    而這兩個選擇都給了我暫停的按鈕

  • as well if I would like.

    如果我願意的話,也可以。

  • And the third option, the one I use the most,

    而第三個選項,是我最常用的一個。

  • is to click the Macro Record button

    是點擊宏程序記錄按鈕

  • here on the status bar.

    在狀態欄上的這裡。

  • I'm going to click and I need to give this a name.

    我要點擊,我需要給這個東西起個名字。

  • I'm going to call this "FormatReport".

    我打算把它叫做 "FormatReport"。

  • And don't immediately click Assign Macro

    不要立即點擊 "指定宏"。

  • to the button or keyboard because when you do,

    到按鈕或鍵盤,因為當你這樣做。

  • you don't get to make another choice in this dialogue box.

    你就不能在這個對話框中做出其他選擇。

  • I want to store the macro so it is available

    我想存儲宏,以便它可以使用

  • to any documents that I create,

    到我創建的任何文件。

  • because this is a set of formatting that I do frequently.

    因為這是我經常做的一套格式化。

  • So I'm going to store this in "Normal.dotm"

    是以,我將在 "Normal.dotm "中存儲這個資訊

  • And this is to apply, apply body style

    而這是為了應用,應用身體風格

  • and add title and creation date at the top.

    並在頂部添加標題和創建日期。

  • If I want to put in a keyboard shortcut for this

    如果我想把這個鍵盤快捷鍵放進去

  • I'd click this button, or I can say

    我會點擊這個按鈕,或者我可以說

  • I'd like to assign a button to this macro.

    我想給這個宏指定一個按鈕。

  • We're going to try for a keyboard shortcut.

    我們要嘗試使用鍵盤快捷方式。

  • This is "FormatReport".

    這就是 "FormatReport"。

  • What I can do is choose a set of keystrokes

    我可以做的是選擇一組按鍵

  • and they'll either be unassigned

    而他們要麼不被分配

  • or perhaps it's something that I'm willing to give up.

    或者說,這是我願意放棄的東西。

  • For example, if I do Control + Shift + F for "FormatReport",

    例如,如果我對 "FormatReport "執行Control + Shift + F。

  • that's currently associated with font

    目前與字體有關的

  • if I want to open the font dialogue.

    如果我想打開字體對話。

  • I don't want to give that one away,

    我不想把這個問題說出來。

  • so perhaps Alt + Shift + F, insert merge field.

    是以,也許是Alt + Shift + F,插入合併字段。

  • Nope, I use that one too.

    不,我也用這個。

  • Control + Alt + Shift + F, unassigned.

    Control + Alt + Shift + F,未指定。

  • So if I can remember, that's my keyboard shortcut.

    是以,如果我能記住,這就是我的鍵盤快捷鍵。

  • I'm going to hold on Alt, Control, Shift and F

    我將按住Alt、Control、Shift和F。

  • to fire up this report format, that works well for me.

    來啟動這個報告格式,這對我來說很有效。

  • And I can click Assign, there we go.

    我可以點擊 "指定",就可以了。

  • And now I'm going to click Close,

    現在我將點擊關閉。

  • and when I do, the macro recorder has started.

    而當我這樣做時,宏記錄器已經啟動。

  • And the clue for that is if I look at my pointer

    這方面的線索是,如果我看一下我的指針

  • there's a little icon, and that's not Bad Robot's head,

    有一個小圖標,而那不是壞機器人的頭。

  • that is actually a picture of a cassette recorder,

    這實際上是一張盒式錄音機的照片。

  • because when we started recording macros

    因為當我們開始錄製宏時

  • that's what recording media looked like.

    這就是記錄媒體的模樣。

  • I'm going to begin by selecting all of our text

    我將首先選擇我們所有的文本

  • And while I'm recording the macro

    而當我在記錄宏的時候

  • I can use my mouse to choose commands

    我可以使用我的滑鼠來選擇命令

  • but I can't use it to select text,

    但我不能用它來選擇文本。

  • I have to use keyboard shortcuts.

    我必須使用鍵盤快捷鍵。

  • If you record a lot of macros

    如果你錄製了大量的宏程序

  • you will know all the keyboard shortcuts, but if not

    你會知道所有的鍵盤快捷鍵,但如果沒有的話

  • this is a good time to refer back

    現在是回顧的好時機

  • to the shortcut document that we created earlier.

    到我們之前創建的快捷方式文件。

  • I'm going to hold Control and hit A to select all my text,

    我將按住Control鍵並點擊A鍵來選擇我的所有文本。

  • I'm going to return to the Home tab,

    我將回到 "主頁 "標籤。

  • and I'm going to assign Normal.

    而我要分配的是Normal。

  • That looks good.

    這看起來不錯。

  • Now I need to get back to the start of my document,

    現在我需要回到我的文件的開頭。

  • so that's Control and Home, I'm going to press Enter

    是以,這是控制和主頁,我將按下回車鍵

  • and then hit the up arrow to go back up,

    然後點擊向上的箭頭,回到上面。

  • and I'm going to enter my title for this,

    而我要為這個輸入我的標題。

  • which is, this is a video report.

    這就是,這是一個視頻報告。

  • Now I want to select all the text on this line.

    現在我想選擇這一行的所有文本。

  • One way I could do that would be with the mouse,

    我可以做到這一點的一個方法是用滑鼠。

  • but that's not what's available to me,

    但這並不是我可以得到的東西。

  • so another key you're going to use a lot is the F8 key.

    所以另一個你會經常使用的鍵是F8鍵。

  • And that's called extend select.

    這就是所謂的擴展選擇。

  • If I hit the F8 key and then I hit Home,

    如果我按下F8鍵,然後再按下主頁。

  • I've now selected that entire line

    我現在已經選擇了這一整行

  • and I can assign, for example, the Title style to that line.

    我可以為該行指定,例如,標題樣式。

  • To get out of extend select, you hit the escape key.

    要脫離擴展選擇,你要按下逃學生鍵。

  • And now if I hit the down key, I'm in the line below,

    而現在如果我按下鍵,我就在下面這一行。

  • hit Home to go back to the start, press Enter again,

    按Home鍵回到起點,再按Enter鍵。

  • go back up again, and I would like to now insert the date

    再往上走,我想現在插入日期。

  • that this document was created on.

    這個文件是在什麼情況下創建的。

  • Let's go to Insert, Quick Parts, Field,

    讓我們進入 "插入","快速零件","字段"。

  • and here are all the fields that are available to me

    這裡是我可以使用的所有字段

  • and if I wanted things like, you know, date and time,

    如果我想要的東西,你知道,日期和時間。

  • then here's the create date for this document,

    那麼這裡是這個文件的創建日期。

  • here's the date that this document was last printed,

    這裡是本文件最後一次打印的日期。

  • and here's the date it was last saved,

    而這裡是最後一次保存的日期。

  • which would also be a modification date.

    這也將是一個修改日期。

  • So my choice here is, do I want the date

    是以,我在這裡的選擇是,我是否想讓日期

  • it was built originally, or do I want the date

    構建的,還是我想要的日期?

  • that it was last saved? After you've chosen

    它最後一次被保存是在什麼時候?在你選擇了

  • whether you'd like to have the create date, print date,

    你是否希望有創建日期、打印日期。

  • or save date you can choose whatever format you'd like

    或保存日期,你可以選擇任何你喜歡的格式

  • and click OK to insert that field code.

    並單擊 "確定 "以插入該字段代碼。

  • This what I'd like my finished document to look like.

    我希望我完成的文件是這樣的。

  • I might like to be at the start of the document again

    我可能想再次成為文件的開頭部分

  • in terms of the position of my insertion point,

    就我的插入點的位置而言。

  • so I'm going to hit Control + Home + Home

    所以我將點擊控制鍵+首頁+首頁

  • to go back to the start of my document.

    回到我的文件的開頭。

  • And I'm now going to stop recording.

    而我現在要停止錄音。

  • Now if I had wanted to pause recording

    現在,如果我想暫停錄音

  • between when I started and now,

    從我開始的時候到現在。

  • remember that that either the View tab or the Developer tab

    請記住,無論是 "視圖 "選項卡還是 "開發 "選項卡

  • have a pause button and then I can restart again,

    有一個暫停按鈕,然後我可以再次重新啟動。

  • but I'm going to stop either by clicking here

    但我要通過點擊這裡來阻止這兩種情況。

  • or by clicking the stop button on my status bar.

    或通過點擊我的狀態欄上的停止按鈕。

  • And having done that I have now finished recording my macro.

    在做了這些之後,我現在已經完成了我的宏觀記錄。

- What I'd like to do is add a title to this document.

- 我想做的是給這個文件添加一個標題。

字幕與單字
由 AI 自動生成

單字即點即查 點擊單字可以查詢單字解釋