Excel Mengambil nama file - Get File Link
Private Sub getlinkfile() ‘ langsung di tempatkan pada labelPerhatikan kodenya dan coba baca alurnya.
Dim nFileName As Variant
'nFileName = Application.GetOpenFilename("Excel Files (*.xls),*.xls", , "Ambil file")'with
nFileName = Application.GetOpenFilename()
If nFileName = False Then
Me.Label1.Caption = "Tidak ada file yang dipilih"
Else
Me.Label1.Caption = nFileName
End If
End Sub
We are on
menu-navbar