I use ADODB.Connection in vba.
Now my code.
Please guide me for solve it.Please Login or Register to view this content.
Thank you
but show error as attached.
I use ADODB.Connection in vba.
Now my code.
Please guide me for solve it.Please Login or Register to view this content.
Thank you
but show error as attached.
Last edited by 6StringJazzer; 09-26-2023 at 10:52 PM.
Data Source expects a full path name for a file. You are just providing a folder name. You will have move conn.Open inside the loop and open a new connection for each file.
Please Login or Register to view this content.
You can not set the connection to folder for Excel files.
Thank you Jeff,
But now I have new error.
Attachment 843965
How to solve it?
Thank you
Last edited by fairyme; 09-26-2023 at 10:59 PM.
I want to select from sheet AP or ap.(lower case = ap)Please Login or Register to view this content.
But show error.
Please guide me for solve it.
I want to select from sheet AP or ap.(lower case = ap)Please Login or Register to view this content.
But show error.
Please guide me for solve it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks