Hi guys,
Have been looking for answers in other threads but could not find the exact case.
Im using userform button to call VBA code to Open PPT presentation with FileDialogOpen but im struggling so need help.
Code for now is:
Dim fd as FileDialog
Dim fullpath as string
Dim fileselected as Variant
Set fd = application.filedialog(msoFileDialogOpen)
With fd
.allowmultiselect = false
.title = "select file"
.show
Fullpath = .selecteditems.item(1)
End with
Have been looking for answers in other threads but could not find the exact case.
Im using userform button to call VBA code to Open PPT presentation with FileDialogOpen but im struggling so need help.
Code for now is:
Dim fd as FileDialog
Dim fullpath as string
Dim fileselected as Variant
Set fd = application.filedialog(msoFileDialogOpen)
With fd
.allowmultiselect = false
.title = "select file"
.show
Fullpath = .selecteditems.item(1)
End with