Hello
I have two files in the same folder"C:\Users\MKK\Desktop\MACROS\"
the closed file contains many sheets and add new sheets every time . every sheet contains many columns . what I want importing the last sheet from closed file to open file with just copy specific columns A,B, and the last column put in column C . the last column in last sheet for closed file will change in location so the last column will be dynamic .
the last column when brings from last sheet in closed file shouldn't be empty . I mean will be some columns are empty after headers in row1 should ignore it , just brings the last column contain numeric values under header even contains some blank cells for the same column contains numbers.
I don't want to keep closed file open when import to open file .
every time run the macro in open file should delete the last imported sheet before importing to replace old data with new data .
thanks .
I have two files in the same folder"C:\Users\MKK\Desktop\MACROS\"
the closed file contains many sheets and add new sheets every time . every sheet contains many columns . what I want importing the last sheet from closed file to open file with just copy specific columns A,B, and the last column put in column C . the last column in last sheet for closed file will change in location so the last column will be dynamic .
the last column when brings from last sheet in closed file shouldn't be empty . I mean will be some columns are empty after headers in row1 should ignore it , just brings the last column contain numeric values under header even contains some blank cells for the same column contains numbers.
I don't want to keep closed file open when import to open file .
every time run the macro in open file should delete the last imported sheet before importing to replace old data with new data .
thanks .