Em có file excel tên: Bao_cao_so_lieu_25_5_2017.xls, file này được lấy trên cơ sở dữ liệu mỗi ngày, vì vậy tên file sẽ thay đổi theo ngày, tháng lấy dữ liệu.
Mong Anh/Chị giúp em khai báo tên file để em có thể dùng macro mở file theo ngày tương ứng( ví dụ: ngày 30/06 thì mở file: Bao_cao_so_lieu_30_6_2017.xls
File_name = "Bao_cao_so_lieu_25_5_2017.xls"
Workbooks.Open Filename:=path_name & File_name.
Mong Anh/Chị giúp em khai báo tên file để em có thể dùng macro mở file theo ngày tương ứng( ví dụ: ngày 30/06 thì mở file: Bao_cao_so_lieu_30_6_2017.xls
File_name = "Bao_cao_so_lieu_25_5_2017.xls"
Workbooks.Open Filename:=path_name & File_name.




