ÎÒÓÃVBÔÚÖ¸¶¨Îļþ¼ÐÀï¶ÁÈ¡Ò»¸öwordÄ£°æ£¬ÀïÃæÊÇÒ»¸ö±í£¬°ÑÊý¾Ý¿âµÄÄÚÈÝдÈëwordÖУ¬Ð´¿ÉÒԳɹ¦ÁË¡£
ÏÖÔÚÎÊÌâÊDZ£´æ£¬ÎÒÏëÉ趨ֱ½Ó±£´æÔÚÖ¸¶¨µÄÎļþ¼ÐÖС£
ÏÈÌù³öÎÒÏÖÔÚÍê³ÉµÄ´úÂ룺
Dim Appword As Word.Application
Dim Newword As Word.Document
Set Appword = New Word.Application
Set Newword = Appword.Documents.Add(App.Path + "\stencil" + "\stencil.doc")
Appword.Visible = True
Appword.WindowState = wdWindowStateMinimize
Appword.Documents.Add
With Newword
.Tables(1).Cell(1, 1).Range.Text = txtName.Text
End With
Appword.ChangeFileOpenDirectory (App.Path + "\Result")
Appword.ActiveDocument.SaveAs FileName:=(txtName.Text & ".doc"), FileFormat:=wdFormatDocument, LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:=False
Appword.Documents.Close
Appword.Quit
MsgBox "µ¼³öWordÎļþ³É¹¦£¡"
Çë½ÌһϣºÎÒÓÃvbдÁËÒ»¸öµ÷ÓÃIllustratorµÄ²âÊÔ³ÌÐò£¬´úÂëºÜ¼òµ¥£ºPrivate Sub Command1_Click()
Dim app As New Illustrator.Application
Dim doc As Illustrator.Document
Dim thislayer As Illustrator.Layer ......