删除word文档中的页码 [英] Remove page numbers in word document

查看:62
本文介绍了删除word文档中的页码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用.net删除Word文档中的页码



我尝试过:



Dim outWord As New Word.Application

outWord.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone outWord.Documents.Open(FileName)

How to remove Page numbers in Word document using .net

What I have tried:

Dim outWord As New Word.Application
outWord.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone outWord.Documents.Open(FileName)

推荐答案

我建​​议记录宏。这是一条指令:

记录或运行宏 - Word [ ^ ]

删除页码 - Word [ ^ ]



转到代码窗格(ALT + F11)并使用MS Word应用程序创建的代码。
I'd suggest to record macro. Here is an instruction:
Record or run a macro - Word[^]
Delete page numbers - Word[^]

Go to code pane (ALT+F11) and use the code created by MS Word application.


这篇关于删除word文档中的页码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆