Hello,
I have a good VBA that also works except for one small thing.
The script merges all excel files in a folder to a workbook. This works well as long as the file names are not too long.
With very long filenames the script aborts.
I know that the file names, which then become sheet names, cannot be indefinitely long. But it would be good if the script could then use the maximum possible length for sheet names without aborting.
Here is the VBA
I am very glad about your help.Please Login or Register to view this content.
Many greetings
Tom
Bookmarks