Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 247
Default Code Cleaner (Rob Bovey): Compile? Means what?

Have just used this code cleaner on my largest code package.
When it was complete, the message comes up to Compile, Save, and restart
Excel.
I don't understand what is required by "compile".
Anyone?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Code Cleaner (Rob Bovey): Compile? Means what?

"Compile" usually means to check code and, if correct, translate it to
machine language, in a file called the "Executable". In the case of
VBA code, however, there is no true executable file. So basically, it
is just checking your code.

If you have variables undeclared, subroutines with the wrong number or
type of arguments, etc, it should warn you about these.

Hope this helps,
dom




BEEJAY wrote:
Have just used this code cleaner on my largest code package.
When it was complete, the message comes up to Compile, Save, and restart
Excel.
I don't understand what is required by "compile".
Anyone?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Code Cleaner (Rob Bovey): Compile? Means what?

"BEEJAY" wrote in message
...
Have just used this code cleaner on my largest code package.
When it was complete, the message comes up to Compile, Save, and restart
Excel.
I don't understand what is required by "compile".


Hi Beejay,

In this case the message means you should choose Debug/Compile from the
Visual Basic Editor menu before saving your file and restarting Excel. It's
mostly useful as a quick way of checking your code for basic syntax errors.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code cleaner WH99 Excel Discussion (Misc queries) 7 July 18th 08 09:15 PM
HTML Code cleaner heren Excel Programming 0 September 14th 05 07:36 AM
Code Cleaner in 2003 Otto Moehrbach[_6_] Excel Programming 2 February 16th 04 06:12 PM
Code Cleaner Jase Excel Programming 1 January 4th 04 11:35 PM
VB Code Cleaner Tim Childs[_6_] Excel Programming 2 December 4th 03 04:06 PM


All times are GMT +1. The time now is 08:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"