Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't understand how to return a value from a function. If I wanted to
return the value for X in testee to test, how can I fix this code? Sub test() Dim X As Integer X = 1 testee (X) MsgBox X End Sub Function testee(X) X = 1 + 1 End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Function returning unexpected value | Excel Worksheet Functions | |||
INDIRECT function returning REF# | Excel Worksheet Functions | |||
IF Function Returning Range | Excel Discussion (Misc queries) | |||
IF Function returning range | Excel Discussion (Misc queries) | |||
MAX Function not returning correct value | Excel Worksheet Functions |