Hi, I have a problem when starting my macra. Maybe more about its operation. The macro task is to combine .xlsx or .xls files, preserving their appearance (formulas, comments, colors) from row A2 down to column P. I would also like the macro in the situation when the file is filtered to copy only the filtered data.
Below I put my macro (they only copy from the column A2 down) which does not work very well, it hangs. And I would prefer that the selected files were not selected using the path but as in the files (represent = Application.GetOpenFilename (FileFilter: = "Excel files (*.), *. Xlsx,", _). If someone knows some macro for the first assumption that is, to connect files while maintaining its appearance from a poem (A2: O) down it would help me.
I get an error after trying to run the macro below: "Bad file name or numer".
Bookmarks