24小时热门版块排行榜    

查看: 13197  |  回复: 10
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

engimar

木虫 (正式写手)

[求助] 请问:word分栏后如何将行号显示在文档右侧已有4人参与

各位虫友,请问word分栏以后,如何将行号显示在两侧(如图,这个范文是pdf版本),即左边一栏的行号在文档左边,而右边一栏的行号在文档右侧。

我调了半天,发现行号都在左边,这样一来右边一栏的行号夹在两栏之间完全看不到,⊙﹏⊙b汗


期待指教!
请问:word分栏后如何将行号显示在文档右侧

[ Last edited by engimar on 2013-11-1 at 15:43 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Martin_Sr

铁虫 (初入文坛)

【答案】应助回帖

国外有个大佬解决了这个问题,我试了一下,执行了1-4步,页码就到左边了
https://superuser.com/questions/ ... n-odd-pages-in-word

1、Open the document that you'd like your line numbers to be right-aligned in.
2、Under "Page Layout" (Word 2013) enable Line Numbers for your document.
3、Use Alt+F11 to open VBE.
4、Paste the following code in the "Immediate Window". If the Immediate Window is not visible (most likely at the bottom of your screen), enable it using Ctrl+G.
ActiveDocument.Sections(1).PageSetup.SectionDirection = wdSectionDirectionRtr
5、Hit the "Enter" key on your keyboard to run this script. Do Not click the Run Macro button in the toolbar, use the enter key.
6、Save and close your document. Your line numbers may have vanished, that's fine.
7、Click Start > All Programs > Microsoft Office > Microsoft Office Tools > Microsoft Office XXXX Language Settings/Preferences
8、Select "Hebrew" in the Available Editing Languages box.
9、Click "Add" then click "Ok".
10、Reopen your Word document.
    Your line-numbers should be on the right margin of your document. If not then look under Paragraph options and adjust the (section) direction to right-to-left.
    Do not forget to go back to languages preferences and remove Hebrew after you get your printed documents, but beware that doing so before you've printed it will result in the line numbers being removed.
    This is based on this document which I tested successfully prior to using as an answer.
If I rest, I rust.
9楼2021-05-25 19:04:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

fannis

金虫 (正式写手)

真的不知道word怎么样可以产生这样的效果,若果楼主找到了相关方法,劳烦请告知一下!
爱生活爱媳妇儿~
2楼2013-11-01 16:28:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lf_seu_ee

铁虫 (初入文坛)

同学,你后来解决了吗?遇到了同样的问题
新时代电力工人
3楼2018-07-08 09:01:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lbl2013

铁虫 (小有名气)

有人解决这个问题了吗? 同求
4楼2018-10-26 15:09:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见