½Ð±Ð¦U¦ì¥ý¶i¤j¤j:
¥H¤U¬O§Ú¦bWord¤¤¿ý»s¥[¥H×¥¿ ¥i¥H¦bWord¤¤¥¿±`Run
ChangeFileOpenDirectory ActiveDocument.Path & "\"
Documents.Open FileName:="A4-3X7.doc", ConfirmConversions:=False
Windows("A4-3X7.doc").Activate
With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.SuppressBlankLines = True
With .DataSource
.FirstRecord = wdDefaultFirstRecord
.LastRecord = wdDefaultLastRecord
End With
.Execute Pause:=False
End With
ChangeFileOpenDirectory ActiveDocument.Path & "\"
ActiveDocument.SaveAs FileName:="®Mªí.doc", FileFormat:=wdFormatDocument, _
LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False
¦p¦ó°e¥Xµ¹¦Cªí¾÷?»yªk?
ActiveWindow.Close¥H¤Wµ{§Ç À³¦p¦bExcel Vba¤U»yªk °õ¦æ
1.¦bExcel ¤U¶}:"A4-3X7.doc"
2.¦bExcel Vba¤§¤U®M¥Î¤W¦CWord Vba
Àµ¨D¨ó§U
ÁÂÁÂ |