版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、我錄制的宏操作本文件已經(jīng)保存了工具欄和下面的宏操作宏操作制作成工具欄按鈕的方法、無法保存宏的解決方法;無法保存工具欄的解決方法(評價本文即可掙回文件的分,大家互惠、互利嘛,多謝支持)表2文但行距段前半行手動換行符替換為回車符去空行去回車符宏清單添加“上次看到這里”書簽段首2個全角空格首行縮進(jìn)2字符我的標(biāo)題格式頁邊距2厘米而初距1.5匣架去行首空格建立“自定義工具欄”的方法:工具自定義工具欄新建命令宏拖動宏到新建的工具欄把本地公共模板的宏導(dǎo)人單獨(dú)的文件進(jìn)行保存:宏宏管理器宏從normal模板導(dǎo)入文檔把本地公共模板的工具欄導(dǎo)入單獨(dú)的文件進(jìn)行保存:宏宏管理器工具欄導(dǎo)入文檔如果無法保存宏,可以1工具V
2、B編輯器當(dāng)前文檔的“模塊”右鍵導(dǎo)出bas文件xx.basNieros-oftTcrd直羽餐jj-IhidlchCinouIT丹引用,i石話代阿a田直glODkhutvt羽人QD導(dǎo)幾文4®.薛出空坤膜隔IMkan(KJ.2H真一/B編輯器normal的“模鉗右鍵導(dǎo)入bas文件xx.bas保存>'!ni如果無法保存工具欄,可以1修改注冊表將注冊表里的HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeWordAddins'PDFMaker.OfficeAddinJ|2,使用Word全部保存功能要在Word中手動保存宏、首選項和自定義設(shè)置
3、,請按照下列步驟操作:1 .按住Sh曲鍵。2 .在“文件”菜單上,單擊“全部保存”。我是用第二個方法解決的,祝有同樣困擾的網(wǎng)友好運(yùn)。Sub頁邊距()I'頁邊距Macro'宏在:2012-2-7由chq錄制WithActiveDocument.Styles(wdStyleNormal).FontIf.NameFarEast=.NameAsciiThen.NameAscii=""EndIf.NameFarEastEndWithWithActiveDocument.PageSetup.LineNumbering.Active=False.Orientation=w
4、dOrientPortrait.TopMargin=CentimetersToPoints(2).BottomMargin=CentimetersToPoints(2)_LeftMargin=CentimetersToPoints(2).RightMargin=CentimetersToPoints(2).Gutter=CentimetersToPoints(O).HeaderDistanee=CentimetersToPoints(1.5).FooterDistanee=CentimetersToPoints(1.75).PageWidth=CentimetersToPoints(21).P
5、ageHeight=CentimetersToPoints(29.7).FirstPageTray=wdPrinterDefaultBin.OtherPagesTray=wdPrinterDefaultBin.SectionStart=wdSectionNewPage.OddAndEvenPagesHeaderFooter=False.DifferentFirstPageHeaderFooter=False.VerticalAlignment=wdAlignVerticalTop.SuppressEndnotes=False.MirrorMargins=False.TwoPagesOnOne=
6、False.BookFoldPrinting=False.BookFoldRevPrinting=False.BookFoldPrintingSheets=1.GutterPos=wdGutterPosLeft.LayoutMode=wdLayoutModeLineGridEndWithEndSubSub頁邊距15()I'頁邊距15Macro,宏在201227由chq錄制IWithActiveDocument.Styles(wdStyleNormal).FontIf.NameFarEast=.NameAsciiThen.NameAscii=""EndIf.NameF
7、arEast=EndWithWithActiveDocument.PageSetup.LineNumbering.Active=False.Orientation=wdOrientPortrait.TopMargin=CentimetersToPoints(1.5).BottomMargin=CentimetersToPoints(1.5).LeftMargin=CentimetersToPoints(1.5).RightMargin=CentimetersToPoints(1.5).Gutter=CentimetersToPoints(O).HeaderDistance=Centimeter
8、sToPoints(1.5).FooterDistance=CentimetersToPoints(1.75).PageWidth=CentimetersToPoints(21).PageHeight=CentimetersToPoints(29.7).FirstPageTray=wdPrinterDefaultBin.OtherPagesTray=wdPrinterDefaultBin.SectionStart=wdSectionNewPage.OddAndEvenPagesHeaderFooter=False.DifferentFirstPageHeaderFooter=False.Ver
9、ticalAlignment=wdAlignVerticalTop.SuppressEndnotes=False.MirrorMargins=False.TwoPagesOnOne=False.BookFoldPrinting=False.BookFoldRevPrinting=False.BookFoldPrintingSheets=1.GutterPos=wdGutterPosLeft.LayoutMode=wdLayoutModeLineGridEndWithEndSubSub換行符()I1換行符Macro,宏在2012-2-7由chq錄制ISelection.Find.ClearFor
10、mattingSelection.Find.Replacement.ClearFormattingWithSelection.Find.Text=T.Replacement.Text="Ap".Forward=True.Wrap=wdFindContinue.Format=False.MatchCase=False.MatchWholeWord=False.MatchByte=True.MatchWildcards=False.MatchSoundsLike=False.MatchAIIWordForms=FalseEndWithSelection.Find.Execute
11、Replace:=wdReplaceAllEndSubSub去空行()'去空行Macro,宏在2012-2-7由chq錄制Selection.Find.ClearFormattingSelection.Find.Replacement.ClearFormattingWithSelection.Find.Text=,ApAp".Replacement.Text=HApH.Forward=True.Wrap=wdFindAsk.Format=False.MatchCase=False.MatchWholeWord=False.MatchByte=True.Matchwildcar
12、ds=False.MatchSoundsLike=False.MatchAIIWordForms=FalseEndWithSelection.Find.ExecuteReplace:=wdReplaceAIIEndSubSub去行首空格()去行首空格Macro宏在20122-7由chq錄制Selection.Find.ClearFormattingSelection.Find.Replacement.ClearFormattingWithSelection.Find.Text=,,ApAp”.Replacement.Text="Ap”.Forward=True.Wrap=wdFind
13、Ask.Format=False.MatchCase=False.MatchWholeWord=False.MatchByte=True.MatchWildcards=False.MatchSoundsLike=False.MatchAIIWordForms=FalseEndWithSelection.Find.ExecuteReplace:=wdReplaceAIIWithSelection.Find.Text=*'ApAp".Replacement.Text=HApH.Forward=True.Wrap=wdFindAsk.Format=False.MatchCase=F
14、alse.MatchWholeWord=False.MatchByte=True.MatchWildcards=False.MatchSoundsLike=False.MatchAIIWordForms=FalseEndWithSelection.Find.ExecuteReplace:=wdReplaceAIIWithSelection.Find.Text=*'ApAp".Replacement.Text=nApH.Forward=True.Wrap=wdFindAsk.Format=False.MatchCase=False.MatchWholeWord=False.Ma
15、tchByte=True.MatchWildcards=False.MatchSoundsLike=False.MatchAIIWordForms=FalseEndWithSelection.Find.ExecuteReplace:=wdReplaceAllWithSelection.Find.Text="Ap.Replacement.Text="Ap".Forward=True.Wrap=wdFindAsk.Format=False.MatchCase=False.MatchWholeWord=False.MatchByte=True.MatchWildcard
16、s=False.MatchSoundsLike=False.MatchAIIWordForms=FalseEndWithSelection.Find.ExecuteReplace:=wdReplaceAllWithSelection.Find.Text="Ap".Replacement.Text="Ap".Forward=True.Wrap=wdFindAsk.Format=False.MatchCase=False.MatchWholeWord=False.MatchByte=True.MatchWildcards=False.MatchSoundsL
17、ike=False.MatchAIIWordForms=FalseEndWithSelection.Find.ExecuteReplace:=wdReplaceAIIEndSubSub表2文()I,表2文Macro,宏在2012-2-7由chq錄制Selection.Rows.ConvertToTextSeparatoi:=wdSeparateByParagraphs,_NestedTables:=TrueEndSubSub上次看到這里()I'上次看到這里Macro,宏在2012-2-7由chq錄制IWithActiveDocument.Bookmarks.AddRange:=Sele
18、ction.Range,Name:=n上次看到這里”.Defaultsorting=wdSortByName.ShowHidden=FalseEndWithEndSubSub單行距()I'單行距Macro,宏在201227由chq錄制WithSelection.ParagraphFormat.Leftindent=CentimetersToPoints(O).Rightindent=CentimetersToPoints(O).SpaceBefore=0.SpaceBeforeAuto=False.SpaceAfter=0.SpaceAfterAuto=False.LineSpacin
19、gRule=wdLineSpaceSingle.Alignment=wdAlignParagraphLeft.WidowControl=True.KeepWithNext=False.KeepTogether=False.PageBreakBefore=False.NoLineNumber=False.Hyphenation=True.FirstLinelndent=CentimetersToPoints(O).OutlineLevel=wdOutlineLevelBodyText.CharacterUnitLeftlndent=0.CharacterUnitRightlndent=0.Cha
20、racterllnitFirstLinelndent=0.LinellnitBefore=0.LineUnitAfter=0.AutoAdjustRightlndent=True.DisableLineHeightGrid=False.FarEastLineBreakControl=True.Wordwrap=True.HangingPunctuation=True.HalfWidthPunctuationOnTopOfLine=False.AddSpaceBetweenFarEastAndAlpha=True.AddSpaceBetweenFarEastAndDigit=True.BaseL
21、ineAlignment=wdBaselineAlignAutoEndWithEndSubSub段前半()I'段前半Macro,宏在201227由chq錄制WithSelection.ParagraphFormat.Leftindent=CentimetersToPoints(O).Rightindent=CentimetersToPoints(O).SpaceBefore=2.5.SpaceBeforeAuto=False.SpaceAfter=0.SpaceAfterAuto=False.LineSpacingRule=wdLineSpaceSingle.Alignment=wdA
22、lignParagraphLeft.WidowControl=True.KeepWithNext=False.KeepTogether=False.PageBreakBefore=False.NoLineNumber=False.Hyphenation=True.FirstLinelndent=CentimetersToPoints(O).OutlineLevel=wdOutlineLevelBodyText.CharacterUnitLeftlndent=0.CharacterUnitRightlndent=0.CharacterllnitFirstLinelndent=0.Linellni
23、tBefore=0.5.LineUnitAfter=0.AutoAdjustRightlndent=True.DisableLineHeightGrid=False.FarEastLineBreakControl=True.Wordwrap=True.HangingPunctuation=True.HalfWidthPunctuationOnTopOfLine=False.AddSpaceBetweenFarEastAndAlpha=True.AddSpaceBetweenFarEastAndDigit=True.BaseLineAlignment=wdBaselineAlignAutoEnd
24、WithEndSubSub首縮進(jìn)()首縮進(jìn)Macro宏在2012-2-7由chq錄制WithSelection.ParagraphFormat.Leftindent=CentimetersToPoints(O).Rightindent=CentimetersToPoints(O).SpaceBefore=2.5.SpaceBeforeAuto=False.SpaceAfter=0.SpaceAfterAuto=False.LineSpacingRule=wdLineSpaceSingle.Alignment=wdAlignParagraphLeft.WidowControl=True.Keep
25、WithNext=False.KeepTogether=False.PageBreakBefore=False.NoLineNumber=False.Hyphenation=True.FirstLinelndent=CentimetersToPoints(0.35).OutlineLevel=wdOutlineLevelBodyText.CharacterUnitLeftlndent=0.CharacterUnitRightlndent=0.CharacterllnitFirstLinelndent=2.LinellnitBefore=0.5.LineUnitAfter=0.AutoAdjus
26、tRightlndent=True.DisableLineHeightGrid=False.FarEastLineBreakControl=True.Wordwrap=True.HangingPunctuation=True.HalfWidthPunctuationOnTopOfLine=False.AddSpaceBetweenFarEastAndAlpha=True.AddSpaceBetweenFarEastAndDigit=True.BaseLineAlignment=wdBaselineAlignAutoEndWithEndSubSub首2空格()I1首2空格Macro,宏在2012
27、27由chq錄制IWithSelection.ParagraphFormat.Leftindent=CentimetersToPoints(O).Rightindent=CentimetersToPoints(O).SpaceBefore=2.5.SpaceBeforeAuto=False.SpaceAfter=0.SpaceAfterAuto=False.LineSpacingRule=wdLineSpaceSingle.Alignment=wdAlignParagraphLeft.WidowControl=True.KeepWithNext=False.KeepTogether=False
28、.PageBreakBefore=False.NoLineNumber=False.Hyphenation=True.FirstLinelndent=CentimetersToPoints(O).OutlineLevel=wdOutlineLevelBodyText.CharacterUnitLeftlndent=0.CharacterUnitRightlndent=0.CharacterUnitFirstLinelndent=0.LinellnitBefore=0.5.LinellnitAfter=0.AutoAdjustRightlndent=True.DisableLineHeightGrid=False.FarEastLineBreakControl=True.Wordwrap=True.HangingPunctuation=True.HalfWidthPunctuationOnTopOfLine=False.AddSpaceBetweenFarEastAndAlpha=True.Ad
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版?zhèn)€人生態(tài)農(nóng)業(yè)園建設(shè)擔(dān)保協(xié)議3篇
- 2025年度航空器銷售與售后服務(wù)合同4篇
- 鄭州食品工程職業(yè)學(xué)院《農(nóng)藝與種業(yè)領(lǐng)域研究進(jìn)展》2023-2024學(xué)年第一學(xué)期期末試卷
- 鄭州升達(dá)經(jīng)貿(mào)管理學(xué)院《中國社會發(fā)展導(dǎo)論》2023-2024學(xué)年第一學(xué)期期末試卷
- 2025年度美甲店產(chǎn)品包裝設(shè)計與印刷合同4篇
- 鄭州商學(xué)院《管理學(xué)研究方法論》2023-2024學(xué)年第一學(xué)期期末試卷
- 鄭州美術(shù)學(xué)院《貴金屬及鑒別》2023-2024學(xué)年第一學(xué)期期末試卷
- 鄭州理工職業(yè)學(xué)院《微視頻創(chuàng)作》2023-2024學(xué)年第一學(xué)期期末試卷
- 鄭州科技學(xué)院《朗誦配音技巧訓(xùn)練》2023-2024學(xué)年第一學(xué)期期末試卷
- 鄭州經(jīng)貿(mào)學(xué)院《新聞傳播學(xué)研究方法》2023-2024學(xué)年第一學(xué)期期末試卷
- 銀行2025年紀(jì)檢工作計劃
- 注射泵管理規(guī)范及工作原理
- 國潮風(fēng)中國風(fēng)2025蛇年大吉蛇年模板
- 故障診斷技術(shù)的國內(nèi)外發(fā)展現(xiàn)狀
- 2024年發(fā)電廠交接班管理制度(二篇)
- 農(nóng)機(jī)維修市場前景分析
- HG+20231-2014化學(xué)工業(yè)建設(shè)項目試車規(guī)范
- 匯款賬戶變更協(xié)議
- 蝦皮shopee新手賣家考試題庫及答案
- 四川省宜賓市2023-2024學(xué)年八年級上學(xué)期期末義務(wù)教育階段教學(xué)質(zhì)量監(jiān)測英語試題
- 價值醫(yī)療的概念 實踐及其實現(xiàn)路徑
評論
0/150
提交評論