Problems with "make" command



Hello everyone,
I have a procedure declared in the general declarations section of
frmDisplayRecipe as follows:

Private Sub DsplyRcp()

I call it from a form procedure in frmDisplayRecipe as follows:

Private Sub cmdRtn_Click()
Print "click"
If IngrCntr <= NoPages Then
Call DsplyRcp
Else
Unload Me
frmMMenu.Show
End If
End Sub

When I click on the Make command under the file menu item, I get the
following:

Compiler error
Sub or Function not defined

The program works properly (DsplyRcp is called and executed) in the VB6
environment but
there is something that the make command dosn't like.

Any assistance would be greatly appreciated.
Thanks,
Nick

.



Relevant Pages

  • Re: Problems with "make" command
    ... > Private Sub DsplyRcp() ... > I call it from a form procedure in frmDisplayRecipe as follows: ... > there is something that the make command dosn't like. ...
    (comp.lang.basic.visual.misc)
  • Re: HidingMacroButtonInPrintout
    ... Private Sub CommandButton2_Click ... ..InlineShapes.Visible = msoFalse ... ..InlineShapes.Visible = msoTrue ... I did draw these buttons with the command draw button. ...
    (microsoft.public.word.vba.general)
  • Re: VBA code ok in Excel 2003, but crashes Excel 2002 & 2000
    ... for any routine that will lead to changing the active sheet. ... or Down Arrow to get onto the command button. ... Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ... Dim bBackwards, bForwards As Boolean ...
    (microsoft.public.excel.programming)
  • Re: Form not closing properly
    ... the white area it refreshes to the normal gray background. ... I had the command button on the footer of the main form and moved it to the ... Private Sub cmdSaveClose_Click ... DoCmd.Close acForm, "frmHazActPlan" ...
    (microsoft.public.access.modulesdaovba)
  • Re: HidingMacroButtonInPrintout
    ... Private Sub CommandButton2_Click ... ..Shapes.Visible = msoFalse ... ..Shapes.Visible = msoTrue ... Command button2 is on page 1 which is an index page with many buttons. ...
    (microsoft.public.word.vba.general)