K
KK
Private Sub OriginalFile_Click()
'Returns your full file name.
File_Name = Application.GetOpenFilename("Word Document
(*.doc;*.docx),*.doc;*.docx")
'Hence no len, no name...
If Len(File_Name) = 0 Then Exit Sub
Original_File.Value = File_Name
End Sub
I had try this in excel macro , it works,but it doesn't work in word macro
,why ?
'Returns your full file name.
File_Name = Application.GetOpenFilename("Word Document
(*.doc;*.docx),*.doc;*.docx")
'Hence no len, no name...
If Len(File_Name) = 0 Then Exit Sub
Original_File.Value = File_Name
End Sub
I had try this in excel macro , it works,but it doesn't work in word macro
,why ?