tags: zoego Word

Word 講義

課程講師資訊巨匠電腦講師:呂心怡
E-mail:zoego99@gmail.com 課程練習下載區:https://bit.ly/3MiDmPT

O、準備工作

1. 工具配置【快速存取工具列】

(1) 原始指令

【檔案】> 選項 > 【快速存取工具列】


(2) 設定方式

針對【常用的指令按鈕】>右鍵【新增/移除至快速存取工具列】

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

(3) 一般建議

快速存取工具列:所有Word、Excel及PPT皆相同建議

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

一、【字】的處理

1. 選取方式

2. 符號加入

指令:【插入】>【符號】>【其他符號】


🔶 讀書時所用的符號
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

🔶 看起來像圖片的文字

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

3. Win10 內建功能

(1) 語音輸入

(2) 符號加入

4. 標點符號加入

※ 所有標點號輸入前加Ctrl

5. 輸入時快速鍵

6.
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →
剪下、
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →
複製、
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →
貼上

方法1:基本操作

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

方法2:拖曳法

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

※ 快速鍵鍵盤配置

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

7. 字型美化

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

8.
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →
複製格式

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

※ 多地方相同格式美化

文件中,多處地方相同格式的美化方法說明:

方法1:利用 Ctrl 多範圍選取後,同時美化

方法2:利用

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →
複製格式,逐一刷取美化

9. 貼上有幾種選擇


方法序 指令 說明
方法1 【貼上】>【保留來源格式】
等同於 Ctrl+V
缺點:不符合Word被貼入的文件格式大小
優點:全部貼入,包含圖片
方法2 【貼上】>【只留文字】 缺點:圖片沒有貼入,需要逐一貼入
優點:符合Word被貼入的文件格式大小
方法3 【常用】>【清除格式】
(
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →
橡皮擦)
去除所有格式,
還原為
【預設文字格式:新細明體 / 12 大小 / 黑色】

10. 螢幕縮放

a. 螢幕縮放
快速鍵:Ctrl + 滾輪捲動


b. 多頁檢視排列方法

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

二、【段落】的處理

1. Word 文件基本條件

(1) 【版面配置】>【邊界】:確認紙張的四邊留白

預設值:上下 2.54 公分 / 左右 3.18 公分
課程練習值: 上下左右 1 公分

(2) 預設文字格式:新細明體 / 12 大小 / 黑色

2. 尺規的啟動

3. 尺規單位的確認

S1. 【檔案】>【選項】
S2. 【進階】>【顯示字元寬度單位】


🔶 以A4紙張為例:公分0-14 / 字元:0-34

4. 原始指令

【常用】>【段落】工作群組之下

5. 尺規與段落關係

(1) 段落基本型式

(2) 利用【尺規】設定段落

🔶 尺規微調:(1)左鍵+右鍵 (2)左鍵+Alt

6. 尺規與原始指令關係

(1) 利用指令設定

指令:【常用】>【段落】工作群組之下

(2) 縮排中的【特殊】

(3) 縮排中的【左】設定

7. 段落處理小技巧分享

1. 【行距】設定困擾

(1) 【固定行高】圖片及文字卡住不顯示

(2) 【最小行高】行距過大

2. 小圖與內文的對齊方式

(1) 方法

(2) 情境結合

3. 中文標點符號排版的困擾

(1) 困擾:

(2) 解決方法:

▶️ 什麼是避頭尾?
https://blog.justfont.com/2023/10/punctuationrules/

4. 精確排版

(1) 指令:【常用】>
【顯示/隱藏編輯標記】

(2) 相關設定:

【檔案】>【選項】>

5. 清除相關格式

(1) 指令:【常用】>
【清除所有格式】

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

(2)必要使用時機:

🔹 單行段落插入圖片
🔹 大綱標題之下,新增其內文,若產生大綱編號時

6. 使用【微軟正黑體】產生行距過大困擾

(1)原因:【檢視】>【格線】

(2)解決方法1:【常用】>【段落】工作群組之下

(2)解決方法2:【版面配置】>【版面設定】工作群組之下

三、【樣式】的處理

A、使用樣式優點

B、 設定步驟

C、 YouTube 影片說明

S1:樣式介紹

【Youtube】

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

S2:樣式與大綱及目錄結合

【Youtube】

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

四、【段落】其他功能介紹

A、定位點

1. 類型

2. 課程範例


3. 說明

(1) 利用Tab執行位移(表格內改為【Ctrl】+【Tab】)

(2) 啟動
【顯示/隱藏編輯標記】



B、項目條例

1. 指令

【常用】>【段落】

2. 類型

3.排版說明

(1) 凸排排版

(2) 強制換行

🔹 Shift+Enter
🔹 原始指令

4.多層次清單

(1) 指令

【常用】>【段落】>

>定義新的清單樣式

(2) 升降階

🔹 方法1:【常用】>【段落】>

> 變更清單階層
🔹 方法2:【常用】>【段落】>

📌 (a) 降階:
Tab

📌 (b) 升階:

Shift+Tab

五、圖片介紹

A. 常用圖檔格式

🔹點陣圖🔹

類型 說明
Webp 1.WebP是Google新推出影像技術,讓網頁圖檔有效進行壓縮,又不影響圖片實際清晰度,讓網頁下載速度加快
2.目前許多軟體不支援,需要藉由工具轉換為常用圖檔格式
(1) 方法1:加入 Chrome 套件
【圖片另存為JPG/PNG/WebP】,加入後針對想下載圖片,按右鍵即可選擇轉換格式
(2)方法2:線上轉檔網站,例如:iLoveIMG
jpg、jpeg 主要儲存照片、支援全彩、不支援透明及動畫、網頁圖片由Webp取代趨勢
png 取jpg與gif優點,全彩、透明,但不支援動畫
GIF 多張圖片依序顯示,營造動畫效果、圖片色彩少、支援透明及動畫
tiff、tif 傳統影像印刷、掃瞄檔
BMP 點陣圖、支援全彩、檔案大、早期圖檔格式
PSD PhotoShop檔案,需要專業軟體開啟

🔹向量圖🔹

類型 說明
SVG 可縮放向量圖形,可由瀏覽器檢視圖檔,現階段流行格式
WMF 向量圖檔、任意放大縮小品質不失真、早期圖檔格式,由SVG取代
EPS、Ai 需要Adobe illustrator專業軟體開啟
swf 需要Adobe Flash專業軟體開啟,已被程式語法取代

B. 螢幕擷取畫面

六、表格

A、指令安排

1. 指令安排

2. 表格結構

B、表格技巧

1. 插入一列非表格行列

(1) 情形一:

若第一頁第一個字是表格,則在第一個字之前按【Enter】即可

(2) 情形二:

指令:【表格工具】>【版面配置】>【分割表格】

2. 儲存格文字對齊


指令:【表格工具】>【版面配置】

🔷原始指令:

3. 標題文字對齊

指令:【常用】>【段落】工作群組>分散對齊

> 利用尺規調整

4. 頁面多一頁的處理

指令:【右鍵】>【段落】>

5. 【表格】常見困擾


指令:【右鍵】>【段落】>

6. 表格中【列】常見困擾

🔷 困擾1:頁面有剩餘空間,表格列卻無法顯示

🔷 困擾2:設定 > 表格內輸入文字卻消失

🔷 困擾3:最小高度 > 表格列的高度過高,無法隨輸入文字中行距高度調整

【解決方法】

7. 公式製作

S1:表格公式函數計算時,【範圍】表示方式:


S2:公式複製後,功能變數利用【F9】更新鍵更新。

七、圖文彙整

A、指令及分類

B、與文字排列

🔶 圖片視為文字,影響段落行距

C、矩形、緊密

(1) 一般設定

(2) 緊密

S1:移除背景


S2:編輯文字與圖形間端點

Note:討論繪圖元件加入時圖文彙整情形

D、文字在後

E、文字在前的困擾

🔶困擾1:圖片無法選取

(結束時在文字上,左鍵2下)

🔶困擾2:文字不易閱讀

八、框線及網底

A、文字間

指令:【常用】>【段落】工作群組之下


Note:套用文字時無法任一決定四邊不同,套用段落時,反之

B、頁面間

(1) 頁面框線


(2) 頁面色彩

列印時預設無法顯示,故【檔案】>【選項】>

(3) 浮水印


🔶 浮水印執行步驟

九、分隔設定

A、指令

B、文字間

(1) 分頁符號


(2) 分欄符號

執行步驟:【版面配置】
S1【欄】
S2 置於分欄點>
S3【分隔設定】>【分欄符號】

(3) 分節符號


🔶Note:
a.【一般屬性】切割:
紙張大小、紙張方向、紙張邊界、頁碼跳頁..
b.書籍製作:
各章節、封面、目錄、附錄…

十、開發人員

A、【啟動】開發人員

【檔案】>【選項】>【自訂功能區】>勾選【開發人員】

B、控制項設定

(1) 利用【屬性】變更相關設定

(2) 建議勾選

(3) 利用【設計模式】修改控制項說明

(4)保護文件

指令:利用【限制編輯】>文件編輯方式:填寫表單

十一、其他功能

A、重覆元件加入

(1) 自動校正

方法1:【檔案】>【選項】>【校訂】>【自動校正選項】

(2) 快速組件、自動圖文集

指令:【插入】>【快速組件】

a. 方法2:快速組件庫

b. 方法3:自動圖文集


B、(備用)Word不常用的小技巧

1. 移除超連結

全選【Ctrl】+【A】後 > 快速鍵 【Ctrl】+【Shift】+【F9】

2. 移除功能變數

全選【Ctrl】+【A】後 > 快速鍵 【Ctrl】+【6】(非數字鍵盤)

C、VBA 批次圖片尺寸變更

參考文獻

Sub BatchChangePicSize() 
    Dim picWidth As Integer 
    Dim picHeight As Integer 
    Dim oIshp As InlineShape 
    
    picHeight = 12 * 28.35 
    picWidth = 24 * 28.35 

    For Each oIshp In ActiveDocument.InlineShapes 
        With oIshp 
            .LockAspectRatio = msoFalse 
            .Height = picHeight 
            .Width = picWidth 
        End With 
    Next oIshp 
End Sub

其中,Word中的尺寸單位默認是cm,而1cm等於28.35px(像素),由於代碼中換算設置的單位是px(像素)。所以就用尺寸高度或寬度值乘像素值。即爲:12 * 28.35 轉為 px;寬度換算方法與此相同。

D、VBA 批次轉為PDF檔

S1:啟動【記事本】軟體>將下方語法貼入
參考文獻

On Error Resume Next
Const wdExportFormatPDF = 17
Set oWord = WScript.CreateObject("Word.Application")
Set fso = WScript.CreateObject("Scripting.Filesystemobject")
Set fds=fso.GetFolder(".")
Set ffs=fds.Files
For Each ff In ffs
If (LCase(Right(ff.Name,4))=".doc" Or LCase(Right(ff.Name,4))="docx" ) And Left(ff.Name,1)<>"~" Then
Set oDoc=oWord.Documents.Open(ff.Path)
odoc.ExportAsFixedFormat Left(ff.Path,InStrRev(ff.Path,"."))&"pdf",wdExportFormatPDF
If Err.Number Then
MsgBox Err.Description
End If
End If
Next
odoc.Close
oword.Quit
Set oDoc=Nothing
Set oWord =Nothing
MsgBox "Word文件已全部轉換為PDF格式!"

S2:將S1檔案,副檔案由【 *.txt 】改為【 *.vbs 】,置於要轉為PDF檔案的資料夾,執行後,即可將Word檔進行轉為PDF檔

十二、合併列印

A、種類


B、步驟

E、批次匯入圖片方法

(1) 路徑陳述方法

磁碟機:\\資料夾\\檔案.副檔案

(2) 執行步驟

S1:依步驟執行合併列印。
S2:【插入】>【快速組件】>【功能變數】>【IncludePicture】


S3:【右鍵】>【切換功能變代碼】

S4:【郵件】>【插入合併欄位】>加入【路徑】欄位


S5:【郵件】>【完成與合併】>【編輯個別文件】

S6:全選後,【F9】更新功能變數鍵

F、薪資單

(1) 基本步驟執行

S1:依步驟執行合併列印。
S2:如下圖設定

S3:【功能變數相關設定】

(2) 利用【規則】> 【IF…Then…Else】

S1:【郵件】>【規則】>【IF…Then…Else】

S2:再次執行【郵件】>【規則】>【IF…Then…Else】

S3:【郵件】>【完成與合併】>【編輯個別文件】

(3) 利用【大綱模式】依人員設定不同檔案

S1:將【職工代號】及【姓名】置於文中第一行
S2:S1更新為【標題一】樣式


S3:【郵件】>【完成與合併】>【編輯個別文件】並另存新檔

S4:啟動>【大綱模式】


S5:全選文件>【大綱】>【建立】
S6:【大綱】>【摺疊子文件】

S7:利用【常用】>【取代】進行移除

(4) 批次轉為PDF檔

S1:啟動【記事本】軟體>將下方語法貼入
參考文獻

On Error Resume Next
Const wdExportFormatPDF = 17
Set oWord = WScript.CreateObject("Word.Application")
Set fso = WScript.CreateObject("Scripting.Filesystemobject")
Set fds=fso.GetFolder(".")
Set ffs=fds.Files
For Each ff In ffs
If (LCase(Right(ff.Name,4))=".doc" Or LCase(Right(ff.Name,4))="docx" ) And Left(ff.Name,1)<>"~" Then
Set oDoc=oWord.Documents.Open(ff.Path)
odoc.ExportAsFixedFormat Left(ff.Path,InStrRev(ff.Path,"."))&"pdf",wdExportFormatPDF
If Err.Number Then
MsgBox Err.Description
End If
End If
Next
odoc.Close
oword.Quit
Set oDoc=Nothing
Set oWord =Nothing
MsgBox "Word文件已全部轉換為PDF格式!"

S2:將S1檔案,副檔案由【 *.txt 】改為【 *.vbs 】,置於要轉為PDF檔案的資料夾,執行後,即可將Word檔進行轉為PDF檔

十三、書籍製作(Part1):基本程序

🔶 結果:


A、書籍結構

B、設定樣式

(1) 既有樣式:標題1

S1.設定美化格式


S2.針對【標題1】樣式>右鍵>更新以符合選取範圍

(2) 新增樣式:1.1

※ 1.1.1作法相同

S1.【標題1】段落複製格式予【1.1】段落
S2.新增樣式名稱【1.1】,並利用【修改】鈕,修改【1.1】相關格式


S3.【1.1】段落複製格式
予【1.1.1】段落

S4.新增樣式名稱【1.1.1】,並利用【修改】鈕,修改【1.1.1】相關格式

(3) 各【章節內文】樣式設定條件

(4) 注意事項

(a) 大綱樣式不可逾級
複製格式

異常情形:造成樣式循環

(b) 大綱樣式不可
複製格式至本文樣式

異常情形:本文樣式會產生大綱項目


以上情形總原因:樣式根據





C、樣式與大綱結合

S1.【常用】>【段落】工作群組>

>【定義新的清單樣式】

S2.【格式】>【編號方式】


S3.【階層一】設定

S4.【階層二】設定


S5.【階層三】設定


D、依結構套用文章







十三、書籍製作(Part2):書籍元件加入


A、【2-1頁尾】

S1.【插入】>【頁碼】>

🔶 頁碼格式


🔶 【頁面底端】> 加入頁碼

S2.各章節【版面配置】>【分隔設定】> 分節符號下一頁

B、【2-1頁首】

S1.取消同前:【頁首及頁尾工具】>【連結到前一節】
S2.才可修改不同頁首內容

C、【1-1頁首】

🔶 【頁首章節標題】與【各章節標題】兩者同步連動
利用【功能變數】將樣式標題置於頁首


S1. 【插入】>【快速組件】>【功能變數】
S2. 此項功能執行二次,選擇【StyleRef】第一次勾選【插入段落編號】,第二次皆不勾選

D、【1-2頁首】

S1.【頁首及頁尾工具】>【奇偶頁不同】


S2.【插入】>【圖片】>【文字在前】> 再調整圖片位置

E、【2-2頁首】

S1.取消同前:【頁首及頁尾工具】>【連結到前一節】


S2.點選圖片>【圖片工具】>【變更圖片】

F、【目錄】及【封面】

(1) 目錄

S1.分節設定
S2.連兩次Enter換行
S3.若產生大綱編號,利用【常用】>【字型】工作群組 > 清除所有格式
S4.在第二行上,【參考資料】>【目錄】>【自動目錄】

(2) 封面

S1.分節設定
S2.【插入】>【封面頁】