Thanks, i managed to work it out. This is the first time i've really tried to use macros for anything.