Hello,
Has anyone encounter a Run Time Error 438 - Object doesn't support this property or method
when running VB code for File Dialog - Filters.Add in Excel for Office 365?
Typical codes:
When i exclude Filters.Add "All Files", "*.*" in my code,
the File Dialog window does not show any file to select.
The code works fine without error in Excel 2010.
Your expertise to resolute this issue is greatly appreciated...thanks.
Has anyone encounter a Run Time Error 438 - Object doesn't support this property or method
when running VB code for File Dialog - Filters.Add in Excel for Office 365?
Typical codes:
Code:
Set fd = Application.FileDialog(msoFileDialogFolderPicker)
With fd
.ButtonName = "Select"
.Filters.Add "All Files", "*.*"
.InitialView = msoFileDialogViewDetails
.Show
End with
When i exclude Filters.Add "All Files", "*.*" in my code,
the File Dialog window does not show any file to select.
The code works fine without error in Excel 2010.
Your expertise to resolute this issue is greatly appreciated...thanks.