Hello all,
I am currently trying to write a VBA-Code, which should use a Vlookup to get specific data from another workbook. (The column from which it should take the data should be flexible based on the month, which is why I implemented "ZielSpalte")
By now, I have the following code:
Everything works as it should be (Opening the source file and get lr/ii) until the red line at the end, here VBA is showing the error "Application-defined or object-defined error".
In the original code, I have defined the range of the Vlookup with variables (SourceBlatt/SourceFile), as this was not working I now even used the actual file names, but there still seems to be a problem.
Any hints from your side would be highly appreciated.
Thank you very much in advance!
BR
Bookmarks