|
会议标牌制作方法(文字颠倒/手动):——此方法也是我参照网上别人介绍的方法试验而成,谢谢网友!
==============================================================
* 新建文档,变为横向纸张。
* 插入一个1行2列的表格。
* 两个单元格都输入“办公室”三个字;选定两个单元格,字号设为初号/加粗/黑体(什么字体均可)。
* 选定左单元格文字,点击:格式菜单/文字方向/选定右边的选项(文字正向朝右)/确定。
* 选定右单元格文字,点击:格式菜单/文字方向?选定左边的选项(文字正向朝左)/确定。
* 拖动表格底边框向下伸展到页面边距处。
* 选定左、右两个单元格,点击“表格和边框”工具栏按钮,打开表格工具栏,点击“中部居中”按钮。
* 字体设置为130磅(在字号框中键入130回车)。
* 将表格边框线设为虚线,OK!(打印完毕纵向纸张观看即可。)
******下面是《会议标牌》自动宏制作方法:(宏代码)
- Sub 会议标牌_单张()
- '本宏未实际打印,页边距可自行调整,字体/字号等亦请自行调整。
- Dim i As String
- i = InputBox("请输入文字!", "会议标牌_单张", "办公室")
- If i = "" Then Exit Sub
- Documents.Add DocumentType:=wdNewBlankDocument
- With ActiveDocument.Styles(wdStyleNormal).Font
- If .NameFarEast = .NameAscii Then
- .NameAscii = ""
- End If
- .NameFarEast = ""
- End With
- With ActiveDocument.PageSetup
- .LineNumbering.Active = False
- .Orientation = wdOrientLandscape
- .TopMargin = CentimetersToPoints(3.17)
- .BottomMargin = CentimetersToPoints(3.17)
- .LeftMargin = CentimetersToPoints(2.54)
- .RightMargin = CentimetersToPoints(2.54)
- .Gutter = CentimetersToPoints(0)
- .HeaderDistance = CentimetersToPoints(1.5)
- .FooterDistance = CentimetersToPoints(1.75)
- .PageWidth = CentimetersToPoints(29.7)
- .PageHeight = CentimetersToPoints(21)
- .FirstPageTray = wdPrinterDefaultBin
- .OtherPagesTray = wdPrinterDefaultBin
- .SectionStart = wdSectionNewPage
- .OddAndEvenPagesHeaderFooter = False
- .DifferentFirstPageHeaderFooter = False
- .VerticalAlignment = wdAlignVerticalTop
- .SuppressEndnotes = False
- .MirrorMargins = False
- .TwoPagesOnOne = False
- .BookFoldPrinting = False
- .BookFoldRevPrinting = False
- .BookFoldPrintingSheets = 1
- .GutterPos = wdGutterPosLeft
- .LayoutMode = wdLayoutModeLineGrid
- End With
- ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitFullPage
- ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:= _
- 2, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:=wdAutoFitFixed
- Selection.TypeText Text:=i
- Selection.MoveRight Unit:=wdCell
- Selection.TypeText Text:=i
- Selection.Tables(1).Select
- Selection.Font.Bold = True
- Selection.Font.Name = "黑体"
- Selection.Font.Size = 42
- Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
- Selection.HomeKey Unit:=wdLine
- Selection.EndKey Unit:=wdLine, Extend:=wdExtend
- Selection.Orientation = wdTextOrientationDownward
- Selection.MoveRight Unit:=wdCell
- Selection.Orientation = wdTextOrientationUpward
- Selection.Tables(1).Select
- Selection.Rows.HeightRule = wdRowHeightAtLeast
- Selection.Rows.Height = CentimetersToPoints(15)
- Selection.SelectCell
- Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
- Selection.Cells.VerticalAlignment = wdCellAlignVerticalCenter
- Selection.Font.Size = 130
- Selection.Borders(wdBorderTop).LineStyle = wdLineStyleNone
- Selection.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
- Selection.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
- Selection.Borders(wdBorderRight).LineStyle = wdLineStyleNone
- Selection.Borders(wdBorderVertical).LineStyle = wdLineStyleNone
- Selection.Borders(wdBorderDiagonalDown).LineStyle = wdLineStyleNone
- Selection.Borders(wdBorderDiagonalUp).LineStyle = wdLineStyleNone
- Selection.HomeKey Unit:=wdLine
- ActiveWindow.View.TableGridlines = True
- End Sub
复制代码 |
|