Mac上输入声调拼音的方法 怎么打出拼音声调( 二 )


Sub 逐句拼音st = Selection.Started = Selection.EndFor sen = Selection.Sentences.Count To 1 Step -1With Selection.Start = st.End = edEnd WithSelection.Sentences(sen).SelectApplication.Run MacroName:="FormatPhoneticGuide"ed = Selection.StartNext senEnd SubSub 清除拼音Selection.WholeStoryTextLength = Selection.Characters.CountSelection.GoTo What:=wdGoToHeading, Which:=wdGoToAbsolute, Count:=1For i = 0 To TextLengthWith Selection.Range.PhoneticGuide Text:="", Alignment:=wdPhoneticGuideAlignmentOneTwoOne, Raise:=11, FontSize:=8, FontName:="MS Gothic"End WithSelection.MoveRight Unit:=wdCharacter, Count:=1NextSelection.WholeStoryEnd Sub注:批量拼音的宏代码引用自叶岳峰的博客《全文拼音标注的Word自定义宏》

推荐阅读