that code works fine i assigned button one to Sub Button1_Click() macro and away it went