||08-18-2013 08:10 PM
Lets make this easy and step-by-step ...
First, make sure you have the proper switch. It should be a single pole switch.
Second, your white (neutral) wires should be connected with wires nuts.
Third, one black (hot) wire should be connected to one pole of the switch. The other black wire should be connected to the remaining pole of the switch.
Fourth, make sure you attach the green (ground) to the swicth and the other two greens.
Fifth, make sure you match wire colors in the ceiling fan.
Here is a picture that shows how to connect a light ... which functions just like a fan.
Go through this process then report back ... I think you will be happier by then.