You're talking about in Excel, right? If so this should be in the Excel forum.
Anyway, is there any chance that you're trying to press F5 while your cursor is inside a procedure that takes parameters ?
Or, any function ?
Doing either of those will pop up the Macros dialogue, rather than running anything.