Hello,
I want to copy sheet to new file.
If I want copy column A-Z only.
Now my code as below?
How to edit it?
Thank youPlease Login or Register to view this content.
Hello,
I want to copy sheet to new file.
If I want copy column A-Z only.
Now my code as below?
How to edit it?
Thank youPlease Login or Register to view this content.
Thử sửa đoạn code sau
SourceSheet.Copy Before:=DestWorkbook.Sheets(DestWorkbook.Sheets.Count)
thành
SourceSheet.rang("AZ1:AZ1000000").Copy Before:=DestWorkbook.Sheets(DestWorkbook.Sheets.Count).Range("A1")
Now compile error in named argument not found.
How to solve it?
Last edited by fairyme; 10-01-2023 at 08:48 PM.
Maybe so?
Change references where required.
Please Login or Register to view this content.
Experience trumps academics every day of the week and twice on Sunday.
With finding "ter" or "pop" sheet.
Change the path and workbook name to be saved as.Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks