如何启用页码而不影响页脚/标题 [英] How to enable page numbers without affecting footers/headers

查看:526
本文介绍了如何启用页码而不影响页脚/标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在页面底部的右侧放置页码,但它一直移动页脚的文字,使其离开中心。



任何人都知道如何防止这种情况发生?



另外,有没有人知道如何启用总页数3/4。任何帮助将不胜感激。



以下是我到目前为止:

 <$ c $ (1).Headers(wdHeaderFooterPrimary).range.InlineShapes.AddPicture(.Headers(wdHeaderFooterPrimary).range.Paragraphs.Alignment = wdAlignParagraphCenter'Centers Header'
.ActiveDocument.Sections (1).Footers(wdHeaderFooterPrimary).range.Paragraphs.Alignment = wdAlignParagraphCenter'Centers Footer'
.ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).range.Text =rwetwet& vbCr& wetrwet& vbCr& Phone:wertttr
.ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).PageNumbers.Add


解决方案

在Microsoft Word中没有这样的事情作为启用页码。你可以自由设计你的页脚。看起来你看起来像在Microsoft Excel或PowerPoint中的东西,但它只是在Microsoft Word中有所不同。



就我个人而言




  • 插入表格到包含两列或三列的页脚区域

  • 透明边框 strong> to it



  • 因此,您可以在右侧输入页码,而在页脚中输入其他文字留在左侧(或中间取决于列)。

      ___________________ ________________________ ___________ 
    | _您的页脚文本_ | _中心部分如果需要___ X / Y__ |

    更新看看你的其他问题。我已经提供了答案


    I am trying to put page numbers on the right hand side on the bottom of the page, but it keeps moving the text of the footer making it off center.

    Anyone know how to keep this from happening?

    Also, does anyone know how to enable total pages like 3/4. Any help would be appreciated.

    Here's what I have so far:

    .ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).range.Paragraphs.Alignment = wdAlignParagraphCenter 'Centers Header'
    .ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).range.InlineShapes.AddPicture ("C:\Users\pgates\Desktop\ Logo Swoops cropped 2.JPG") 'Calls for image header'
    .ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).range.Paragraphs.Alignment = wdAlignParagraphCenter 'Centers Footer'
    .ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).range.Text = " rwetwet" & vbCr & "wetrwet" & vbCr & "Phone:wertttr"
    .ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).PageNumbers.Add
    

    解决方案

    There is no such thing in Microsoft Word as "enabling" page numbers. You can design your footer freely. It seems you look for something like in Microsoft Excel or PowerPoint but it just works different in Microsoft Word.

    Personally I would

    • insert a table into the footer area with two or three columns
    • and a transparent border to it

    So you'll be able to enter your page numbers on the right side, while your other text in the footer stays on the left side (or middle depending on columns).

     ___________________ ________________________ ___________
    |_Your footer text__|_Center part if needed__|_Page X/Y__|
    

    Update

    Have a look at your other question. I've put an answer there.

    这篇关于如何启用页码而不影响页脚/标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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