There's no reason based on the information given so far for that error. Perhaps a look at the whole macro.