ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Ãö©ó¦Û°Ê¨ú¥N¥\¯à

[µo°Ý] Ãö©ó¦Û°Ê¨ú¥N¥\¯à

¦U¦ì¤j®a¦n¡G
§Ú¦³¤@­Ó»Ý¨D¡A´N¬O¶}©lwordÀÉ¡A¥¦¯à¦Û°Ê¨ú¥N¬Y¨Ç¤å¦r
¨Ò¦p
H2O¡÷¦Û°Ê¨ú¥N¦¨¬°H2O [2 ¬°¤U¼Ð]

¤£ª¾¦p¦óÅýWORD¥´¶}¡A´N¦Û°Ê¶i¦æ¨ú¥Nªº°Ê§@

½Ð°Ý
1. ¦pªG¬O¸s²Õ°_¨Óªº¤å¦r¤è¶ô¸Ó¦p¦ó¼¶¼g
2. ¦pªG¶}±Ò®Ö¹ïªºÀɮצ³¤é¤å...µ¥»Ý­n¨Ï¥Î unicode ®É¡A¸Ó¦p¦ó¨Ï¥Î¡H

TOP

¦r¦êªº³¡¤À¥i¯à¤£¥]§t³rÂI

TOP

Hsieh±z¦n¡G
¥D­n­ì¥»¬O¶}±ÒtxtÀÉ¡A§Ú±N¥¦§ï¬°docÀÉ
¦¹³¡¥÷¥Htxt¤å¥ó¡A¶}±Ò¬O¥¿±`ªº¡A¦ý¬O§ï¬°doc¤~·|¥X²{°ÝÃD
§Ú­è¤]¸Õ¹L±N³r¸¹®³±¼¡A¤]¬O¥X²{¥t¤@­Ó°ÝÃD

TOP

¦^´_ 6# kuu

¸Ó¦r¦ê¥i¯à¤£¥]§t³rÂI
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

°õ¦æ¨ì¬õ¦â¡A·|Åã¥Ü¿ù»~°T®§¡u°õ¦æ¶¥¬q¿ù»~'9', °}¦C¯Á¤Þ¶W¥X½d³ò¡v

TOP

°¶Ôбz¦n¡G
§Ú±N¸Ó½d¨Ò¤¤ªºtxt§ï¬°doc¡A¦ý¬O¥X²{¿ù»~°T®§¦p¤U(¦p¬õ¦â©Ò¥Ü)
Option Base 0
Sub Document_Open()
Dim arrStr() As String, InputStr As String
Fn = FreeFile

Open "c:\Replace.doc" For Input As #Fn '¶}±ÒReplace.docÀÉ
Application.ScreenUpdating = False  'µe­±¼È°±§ó·s
While Not EOF(Fn)
    Line Input #Fn, InputStr '±qÀÉ®×Ū¥X¤@¦C,
    If Len(InputStr) > 0 And Mid(InputStr, 1, 1) <> "'" Then '­Y²Ä¤@­Ó¦r¤¸¬O'´N¸õ¦¹¦C
        arrStr = Split(InputStr, ",") '§âŪ¤Jªº¤å¦r¦C¨Ì³r¸¹¤À¦¨¤G­Ó¦r¦ê¡A¸m©ó arrStr°}¦C¤º
        Call ReplaceText(arrStr(0), arrStr(1)) '
    End If
Wend
Application.ScreenUpdating = True 'µe­±«ì´_§ó·s
Close #Fn

End Sub

Function ReplaceText(Src As String, Rpl As String) '³o­Ó¨ç¦¡·|¦b¾ã­ÓÀɮ׸̷j´MSrc¦r¦ê¡A±N¥¦¨ú¥N¬°Rlp¦r¦ê


Selection.HomeKey Unit:=wdStory, Extend:=wdMove
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
    .Text = Src
    .Replacement.Text = Rpl
    .Forward = True
    .Wrap = wdFindContinue
    .Format = False
    .MatchCase = False
    .MatchByte = True
    .MatchAllWordForms = False
    .MatchSoundsLike = False
    .MatchWildcards = False
    .Execute Replace:=wdReplaceAll '¥þ³¡¨ú¥N
End With

End Function

¤£ª¾À³¸Ó­n«ç»ò§ï¡A¤~¯à¥¿½TÅã¥Ü¡A·PÁ±zªºÀ°¦£¡C

TOP

¦^´_ 3# kuu

°Ñ¦Ò http://blog.udn.com/WayCheng/2731101 ¬Ý¬Ý
½d¨Ò¤¤¬O¥Î.txt,¥Ñ©ó±z¦³¤Æ¾Ç¦¡,©Ò¥H§ï¦¨.doc¸Õ¬Ý¬Ý
°¶Ôйq¤l®Ñ,Åwªï§K¶O¤U¸ü°Ñ¦Ò
http://www.twbts.com/ebook/?subject=office
http://www.twbts.com/ebook/?subject=soft
°¶ÔÐÂîѮw---https://www.facebook.com/groups/669579416484096/
¦³¤@®a¬a¥J©±---https://www.facebook.com/sadodona

TOP

·PÁ°¶ÔЪºÀ°¦£¡A¤Æ¾Ç¦¡ªº¦Û°Ê¨ú¥N¬O¸Ñ¨M¤F
¦ý¬O§Úªº¤å¥ó¤¤°£¤F¤Æ¾Ç¦¡ÁÙ¦³¨ä¥Lªº­^¤å¦r¡A¨Ò¦p
JIS K6703©Î¬OASTM D634µ¥¤£»Ý­n¨ú¥Nªº¡A¦ý¬O¨Ì¤W­z¤½¦¡¡A¤]³Q¨ú¥N¤F
§Úªº·Qªk¬O
§@¤@­Ó¤Æ¾Ç¤å¥óªºWORDÀÉ¡A¤º®e¦³H20¡÷H2O [2 ¬°¤U¼Ð]µ¥­n³Q¨ú¥Nªº¤å¦r¤Î­n¨ú¥Nªº¦r
¦bNORMAL§@¤@VBA¡AÅýWORD¤@¶}±Ò´N¥hÀˬd¤å¥ó¤¤¦³µL¡u¤Æ¾Ç¤å¥óªºWORD¡v¤¤­n³Q¨ú¥Nªº¦r

TOP

¦^´_ 1# kuu

1.¶}Word,«öAlt+F11
2.[À˵ø]>[±M®×Á`ºÞ]
3.§Ö«ö¤G¤U[Project]¤¤ªº[ThisDocument]
4.©ó[µ{¦¡½X]µøµ¡¤¤,¥ª°¼¿ï[Document];¥k°¼¿ï[Open]
5.µy·L§R§ï¤@¤U http://blog.udn.com/junk200/2878195 ªºµ{¦¡½X
6.±N¤º®e¶K©ó¤U­±ªº¤¤¶¡
  1. Private Sub Document_Open()
  2. End Sub
½Æ»s¥N½X
7.Àx¦s

¥H¤W¨Ñ±z°Ñ¦Ò
°¶Ôйq¤l®Ñ,Åwªï§K¶O¤U¸ü°Ñ¦Ò
http://www.twbts.com/ebook/?subject=office
http://www.twbts.com/ebook/?subject=soft
°¶ÔÐÂîѮw---https://www.facebook.com/groups/669579416484096/
¦³¤@®a¬a¥J©±---https://www.facebook.com/sadodona

TOP

        ÀR«ä¦Û¦b : ªY½à§O¤H´N¬O²øÄY¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD