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".Please Login or Register to view this content.
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".Please Login or Register to view this content.
What is wrong here?
Thanks
Your close quote is too early, needs to be at the very end. Also just use a quote character instead of the character code. The character code will work, but it obfuscates the VBA code. Inside a quote, you repeat it twice.
Formula:Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks