返回列表 上一主題 發帖

A3的版面如何變A4

本帖最後由 mark15jill 於 2011-6-1 10:52 編輯

[/code]回復 1# home8486

    如同版大說的 能否告知您使用的OFFICE版本 以及 附檔???

基本上 從 A3 變 A4 本來格式就會有所跑掉  因為紙張大小不同

該預設之邊界 及 行數 也會跟著改變

以下是我用巨集 (2007) 版本 所紀錄的更改A3 A4 程式碼..

[code]Sub 巨集2()
'
' 巨集2 巨集
'
'
    WordBasic.PageSetupMargins Tab:=1, PaperSize:=8, TopMargin:="2.54", _
        BottomMargin:="2.54", LeftMargin:="3.17", RightMargin:="3.17", Gutter:= _
        "0", PageWidth:="29.7", PageHeight:="42", Orientation:=0, FirstPage:=0, _
        OtherPages:=0, VertAlign:=0, ApplyPropsTo:=4, FacingPages:=0, _
        HeaderDistance:="1.5", FooterDistance:="1.75", SectionStart:=2, _
        OddAndEvenPages:=0, DifferentFirstPage:=0, Endnotes:=0, LineNum:=0, _
        CountBy:=0, TwoOnOne:=0, GutterPosition:=0, LayoutMode:=2, DocFontName:= _
        "", FirstPageOnLeft:=0, SectionType:=1, FolioPrint:=0, ReverseFolio:=0, _
        FolioPages:=1
    Selection.TypeText Text:="目前是A3"
  
  Selection.TypeParagraph
    WordBasic.PageSetupMargins Tab:=1, PaperSize:=9, TopMargin:="2.54", _
        BottomMargin:="2.54", LeftMargin:="3.17", RightMargin:="3.17", Gutter:= _
        "0", PageWidth:="21", PageHeight:="29.7", Orientation:=0, FirstPage:=0, _
        OtherPages:=0, VertAlign:=0, ApplyPropsTo:=4, FacingPages:=0, _
        HeaderDistance:="1.5", FooterDistance:="1.75", SectionStart:=2, _
        OddAndEvenPages:=0, DifferentFirstPage:=0, Endnotes:=0, LineNum:=0, _
        CountBy:=0, TwoOnOne:=0, GutterPosition:=0, LayoutMode:=2, DocFontName:= _
        "", FirstPageOnLeft:=0, SectionType:=1, FolioPrint:=0, ReverseFolio:=0, _
        FolioPages:=1
    Selection.TypeText Text:="目前是A4"
End Sub

TOP

        靜思自在 : 道德是提昇自我的明燈,不該是呵斥別人的鞭子。
返回列表 上一主題