T
theintern
i have this project running a macro every time it's opened. the problem is
that now i want to run that same module, but pass a variable to it. it's
giving me various errors, depending on how i code it, but nothing seems to be
working. Please help! I have to present this tomorrow!
scott
Private Sub Project_Open(ByVal pj As Project)
Dim stayopen As Integer
stayopen = 1
ImportAll (stayopen)
End Sub
Sub ImportAll(stayopen As Integer)
....
end sub
that now i want to run that same module, but pass a variable to it. it's
giving me various errors, depending on how i code it, but nothing seems to be
working. Please help! I have to present this tomorrow!
scott
Private Sub Project_Open(ByVal pj As Project)
Dim stayopen As Integer
stayopen = 1
ImportAll (stayopen)
End Sub
Sub ImportAll(stayopen As Integer)
....
end sub