close

Word 如何讓它每次都以整頁模式或標準模式開啟?

 

替換紅色字 wdPrintView 的方法

按Alt +F11 開啟Visual Basic,粘貼下面程式碼,替換紅色字wdPrintView

wdNormalView 是標準模式

wdPrintView 是整頁模式


Private Sub Document_New()
  SetView wdPrintView
End Sub

Private Sub Document_Open()
  SetView wdPrintView
End Sub

Private Sub SetView(ByVal iView As Integer)
  With ActiveDocument.ActiveWindow
    If .View.SplitSpecial = wdPaneNone Then
        .ActivePane.View.Type = iView
    Else
        .View.Type = iView
    End If
  End With
End Sub

方法(一):粘貼 ActiveWindow.View.Type = wdPrintView

1. 菜單欄的 檢視(V) → 專案總管(P)

2. 點擊 ThisDocument

3. 檢視(V) → 程式碼(C)


4. 右邊彈出程式碼的視窗

5. 左邊選Document,右邊選Open

6. 下面會跳出程式碼

7. 在中間加上,ActiveWindow.View.Type = wdPrintView

8. 檔案(F) → 儲存 Normal(S)

9. 檔案(F) → 關閉並回到Microsoft Word(C)

10.

儲完檔案後,關閉 Normal.dot ,或直接按右上角的X鈕,離開Word

請勿再變更 Normal.dot 的設定。

2016-11-05_114249


方法(二)替換紅色字 wdPrintView 為 wdNormalView(標準模式) 或 wdPrintView(整頁模式) 的方法

1. 檢視(V) → 專案總管(P)

2. 點擊 ThisDocument

3. 檢視(V) → 程式碼(C)


4. 右邊彈出程式碼視窗

5. 粘貼以下的文字,標記紅色底線的地方,修改成 wdNormalView(標準模式) 或 wdPrintView(整頁模式)

6. 檔案(F) → 儲存 Normal(S)

7. 檔案(F) → 關閉並回到Microsoft Word(C)

8. 儲完檔案後,關閉 Normal.dot ,或直接按右上角的X鈕,離開Word

請勿再變更 Normal.dot 的設定。

2016-11-05_114249


喵喵尋寶園


Word 2003 - 問題篇

Word 2003 - 教學篇


arrow
arrow

    尋寶園 發表在 痞客邦 留言(0) 人氣()