PDA

View Full Version : Solved: Compile situation



Crooz
05-27-2008, 03:59 AM
Hi all,
I've been programming VBA for some time now and the following situation has arisen a more than a few times.
After writing code, and before saving it, I always compile my work. Sometimes, when I click the compile button nothing happens - it does not 'grey out' as usual. Saving and closing the program doesn't seem to help. Until I make a change in code (which may or may not be necessary) will the compile work again.
Why is this... anyone know?
Crooz

fumei
05-27-2008, 10:34 AM
Not sure what your question is exactly. Unless you have massive amounts of procedures, Compile Project is, to a large degree, a little pointless.

Essentially, all it really does is a syntax check.

VBA compiles at run-time anyway.

If nothing has changed - and you have Compiled - then there is nothing to compile.

So, again, I am not really sure what the question is.