Sorry about that just out it back in and now it says too few parameters for the objCmd.Execute line