Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i read a parameter for my function?

Status
Not open for further replies.

kenguru

Programmer
May 14, 2004
173
RO

Does anyone know how can i read a parameter for my function (for example from which line has to start my for cicle) without using a 'form'?

Thank You,
Kenguru
 
What have you got so far please? ( and what is cicle? )

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Not sure what you mean. Standard way to pass params is:
Code:
Sub Call_Function_Example()
dim myVar as string

myVar = Range("A1").text

Call thefunction(myVar)

End sub

Function theFunction(VariableTest) as string
'Do stuff with 'VariableTest' which will be = myVar
theFunction = Result
End Function
 
Huh??????? But....OK...glad something is working out there.

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top