well make sure you type an . before and after the name of the cheat.

So when on the campaign map you could use the following cheat :

.matteosartori. ( reveals the entire map, removes fog of war )

notice the . before and after the name of the cheat, without it the cheat won't work !

Hope that was simple enough