I have produced a program and it is working perfectly. Now I just reproduced the same program but in a new spreadsheet where my complete program is kept but it is not working this time. I am getting this message:



Run-time error ‘9’

Subscript out of range



And this line is highlighted : Sheets("sheet1" ).Shapes("recta ngle 8").Fill.ForeCo lor.SchemeColor...