Your code makes no sense.
if me.object 1 then
What is me.object? Is the button, or some other field/control, named object? If so it shouldn't be as Object is a Access / VBA reserved word. If it's a Yes/No field it will either be True (-1), False (0) or possibly Null, not 1. Plus, you're using the same argument in two different If statements, one inside the other, so the second If statement will never be processed.
Can you clarify what it is you're trying to do here?