Never knew i could do that, i will give it a go, thanksWhy not just record a macro of you applying the formats manually. Then you have the code.
Thanks to joe, sorry i missed your post somehow, thanksIf you turn on your Macro Recorder, and record yourself doing this manually, you will easily get the VBA code that you need.
The Macro Recorder is a very valuable tool to use to get snippets of code like this!