Sub PrintCopies() Macro1 Macro D" />
乔山办公网我们一直在努力
您的位置:乔山办公网 > word文档 > <em>WORD</em>在<em>打印</em>时自动加上<em

<em>WORD</em>在<em>打印</em>时自动加上<em

作者:乔山办公网日期:

返回目录:word文档


这个得用【邮件合并】来完成,具体教程……在网上找找看。

Sub PrintCopies()
'
' Macro1 Macro
'
'
Dim i As Long
Dim lngStart
Dim lngCount
lngCount = InputBox("Please enter the number of copies you want to print", "Please enter the number of copies you want to print", 1)
If lngCount = "" Then
Exit Sub
End If
lngStart = InputBox("Enter the starting number you want to print", "Enter the starting number you want to print", 1)
If lngStart = "" Then
Exit Sub
End If
For i = lngStart To lngCount
If i < 10 Then
Selection.TypeText Text:=i&
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End If

If (i >= 10) And (i < 100) Then
Selection.TypeText Text:= i&
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End If

If (i >= 100) And (i < 1000) Then
Selection.TypeText Text:="0" & i&
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End If
If (i >= 1000) And (i < 10000) Then
Selection.TypeText Text:=i
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End If
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Next
End Sub

word给一页的文档在打印多份时加上不同的编号的方法。

如下参考:

1.首先,我们找到了一个word文档,我们需要从编号。

2.打开word文档,选择需要自动编号或生成序列号的部分文本。

3.点击顶部菜单的“开始”按钮,找到菜单下方的图标,快速生成序列号(有两个,可以根据需要选择)。

4.选择所需的图标后,请确保它已成功生成,如下图。

5.如果您在序列号图标库版本中没有找到您想要的符号编号,请联系我们。点击“其他数字”,做出更多选择,如下图。

6.当然,我们也可以在WPS中进行复制,需要对文字进行编号,右键点击——项目编号和编号。



点视图,选页眉和页脚,然后点下面这个图切换到页脚

然后在这里面选你要的

相关阅读

  • <em>WORD</em>在<em>打印</em>时自动加上<em

  • 乔山办公网word文档
  • 这个得用【邮件合并】来完成,具体教程……在网上找找看。Word中让合同编号在打印时自动按顺序生成" src="/uploads/tu/205.jpg" style="width: 400px; height: 267px;" />Sub PrintCopies() Macro1 Macro D
关键词不能为空
极力推荐

ppt怎么做_excel表格制作_office365_word文档_365办公网