Hi everybody.
I want to get the file name from the following code.
Who can help me.Please Login or Register to view this content.
Thank you.
Hi everybody.
I want to get the file name from the following code.
Who can help me.Please Login or Register to view this content.
Thank you.
As you're using FSO, you could use this in your For X loop
Please Login or Register to view this content.
The following will provide the file name. You can add the code to the end of your existing macro or
maintain it as independent. I correct my previous statement ... ByteMarks has indicated how to obtain
the file name.
Please Login or Register to view this content.
Last edited by Logit; 01-16-2024 at 06:27 AM.
Here you go.
Please Login or Register to view this content.
I'm not quite sure what you mean, but maybe this to put the file name in column AA
Please Login or Register to view this content.
@ByteMarks:
The key is in this line of code
Des.Offset(, 26).Resize(K) = sFileName
Thank you.
MsgBox at the bottom of the macro will get the file name ...
Please Login or Register to view this content.
I already know how.
Thank you everybody.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks