Is code you posted in same workbook as the codes you wish to run with Application.Run?