This is the less "cultured" way to do it and doesn't result in toasted bread, but hey, you still get a hot ham and cheese out ...
Cook for 5 minutes before carefully flipping the sandwiches over and repeating the process on the other side. Cook until the cheese is melted and the ham is hot through.