Metta
Sometimes there is something weird added to the vba code posted. In Charles' post above, there is a rogue '[/HTML]' sitting on a line. That should be deleted after you paste the code into the vba editor.
If you then attempt to run the code, it 'should' work but it is possible there is something else which is causing problems. If this is the case, choose to 'Debug' the code and have a look at the highlighted line. If you post back telling us where the problem actually exists we can figure out what is going wrong.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|