Hello,
this is my 1st call for help in years. Usually i managed to find solution by searching WWW.
I have this SUB witch just opens file A, copy data to file B (to ThisWorkbook) and close file A.
When i made this Macro it worked well, but when I created UserForm and launch it from this Form it started to break here:
showing "Runtime error 9 Subscript out of range"Please Login or Register to view this content.
When Debugging conFileName holds files name as String.
The full code of Macros if it helps to understand:
I have more Macros very similar to this one (main changes: conFileName and ranges) and they are working like a charm!Please Login or Register to view this content.
Any ideas?
If you see that there may be any other modifications to this macro, please, Your suggestions are very welcome.
Thank you for reading all this!
Bookmarks