S
Simon E
In Word 97 VBA (VBA 5) when I compile a large project the size of the template increases by 30%. I find compiling is useful for error checking but don't like adding 300KB to a 1MB file that has to be deployed to numerous offices around the world, sometimes across very slow dial-up links.
I have tried searching the Word MVP site, and Google and Google Groups, and MSDN. I cannot find an explanation of what compilation does to a VBA project or whether, when the project is executed, the compiled code is executed or whether the code is still executed by an interpreter, line-by-line
Apart from error checking and increasing the size of a file, what effect does compiling a VBA project (in Word, Excel, or elsewhere) have? When users come to run the macros in the compiled project, do they run the compiled code or is the code still run line-by-line by an interpreter? Does the VBA 6 used in Words 2000, 2002, 2003 behave the same as VBA 5 (we are upgrading to Word 2002/VBA 6 in a month's time)
Cheer
Simon Elm
I have tried searching the Word MVP site, and Google and Google Groups, and MSDN. I cannot find an explanation of what compilation does to a VBA project or whether, when the project is executed, the compiled code is executed or whether the code is still executed by an interpreter, line-by-line
Apart from error checking and increasing the size of a file, what effect does compiling a VBA project (in Word, Excel, or elsewhere) have? When users come to run the macros in the compiled project, do they run the compiled code or is the code still run line-by-line by an interpreter? Does the VBA 6 used in Words 2000, 2002, 2003 behave the same as VBA 5 (we are upgrading to Word 2002/VBA 6 in a month's time)
Cheer
Simon Elm