Hello,
I am using this code to get the list of files in the active workbook directory:
I am getting Run-Time error 52 " Bad File name or number".![]()
MsgBox Dir(Chr(34) & Application.ActiveWorkbook.Path & Chr(34) & "\")
What is wrong here?
Thanks
Hello,
I am using this code to get the list of files in the active workbook directory:
I am getting Run-Time error 52 " Bad File name or number".![]()
MsgBox Dir(Chr(34) & Application.ActiveWorkbook.Path & Chr(34) & "\")
What is wrong here?
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks