Re: compile error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Chip Pearson (chip_at_cpearson.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 08:15:10 -0500

It means that whatever is highlighted (e.g., an external function
declaration) cannot be declared within a Sub or Function
procedure. Move that item outside of and prior to any procedure.
It would be helpful if you posted the code that is causing the
problem.

-- 
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Fraggs >" <<Fraggs.14nja9@excelforum-nospam.com> wrote in
message news:Fraggs.14nja9@excelforum-nospam.com...
> What does it mean when it says -
> Complie error:
> Invlid Outside Procedure
>
> How do I fix this?
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>


Relevant Pages

  • Re: function in module
    ... end function fun ... unit where an external function is declared, you need to do something to ... can serve as an implicit declaration that it is a function. ... If you do that you must also delete the type declaration from before the ...
    (comp.lang.fortran)
  • Re: Possible Alpha BASIC compiler problem?
    ... indicate to the compiler that the external function accepts no ... I am worried that some not-so-clever hack now might break ... That's exactly the correct declaration for a function which takes no ...
    (comp.os.vms)
  • Re: ...Or mouse-over VB code?
    ... declaration section of the module.... ... Private Declare Sub Sleep Lib "kernel32" ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: Cant use global FILEHANDLEs?
    ... > It's related open sub is: ... Instead, trace the filehandle toits opening make sure it is declared within an appropraite scope, and then ... The error message reffered to a lack of definition, not to improper declaration, ... That goes with the territory when using globals. ...
    (perl.beginners)
  • Re: Cant use global FILEHANDLEs?
    ... I've been programming for more than 20 ... :> It's related open sub is: ... Why not just call it serindipity that this global declaration ... That goes with the territory when using globals. ...
    (perl.beginners)