View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JDB[_2_] JDB[_2_] is offline
external usenet poster
 
Posts: 15
Default Set Function to False -Why??

I inherited some VBA code sometime ago, but do not understand one part
of it

The function is declared, some variables are declared and then the
fucntion is set to false

What does this do and why would it be done?

Thanks

JDB
------------------------

Public Function XA_List_Variables_Results_Sheet() As Integer

Dim LoinGrade As String, LoinMinMax As String
Dim PackStyle As String
Dim C As Integer, R As Integer
Dim I As Integer, LstIndex As Integer

' List_Variables_Results_Sheet = False

Worksheets("Matrix-Sheet").Activate

Rangename = "Supply"
GoSub LoadSupplyVariables

'more code


End Function