codedreamer
New Member
I have two workbooks, one name BakeSale and one name Receipt. The macro is supose to transfer information from Bake Sale to receipt, but after the workbook is rename it does not work anymore. This is what I have:
'Workbooks("BakeSale.xlsm").Sheets(i).Range("A1").Value =Workbooks("Receipt.xlsm").Sheets(i).Range("A5").Value'
I tried substituting BakeSale for ThisWorkbook and it pass that line, but it does not pass the next even though Receipt has not been rename.
Thank you for your help,
Codedreamer
'Workbooks("BakeSale.xlsm").Sheets(i).Range("A1").Value =Workbooks("Receipt.xlsm").Sheets(i).Range("A5").Value'
I tried substituting BakeSale for ThisWorkbook and it pass that line, but it does not pass the next even though Receipt has not been rename.
Thank you for your help,
Codedreamer