PC Review


Reply
Thread Tools Rate Thread

Code Cleaner (Rob Bovey): Compile? Means what?

 
 
=?Utf-8?B?QkVFSkFZ?=
Guest
Posts: n/a
 
      20th Oct 2006
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?
 
Reply With Quote
 
 
 
 
dolivastro@gmail.com
Guest
Posts: n/a
 
      20th Oct 2006
"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?


 
Reply With Quote
 
Rob Bovey
Guest
Posts: n/a
 
      20th Oct 2006
"BEEJAY" <(E-Mail Removed)> wrote in message
news:034774D8-707C-44D5-AB2D-(E-Mail Removed)...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
what does this code means? =?Utf-8?B?aHV6eg==?= Microsoft Dot NET 4 28th Feb 2005 01:43 PM
When programming with Visual Studio in code. What means the Label in code? Andreas Klemt Microsoft ASP .NET 2 14th Jan 2004 06:49 AM
can you tell me what this error code etc means!!!!!! thesoapster03@yahoo.co.uk Windows XP Performance 0 8th Dec 2003 10:29 PM
somebody please email me Rob Bovey's code cleaner Tim Zych Microsoft Excel Programming 1 16th Oct 2003 08:08 PM
Rob Bovey's Code Cleaner makes file larger. Why? Don Wiss Microsoft Excel Programming 1 8th Oct 2003 07:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:16 PM.