Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Is it possible to create a function that will return two values, a boolean and a string? I need to exit the main procedure if the data checked by the function is not valid and also display a message according to the particular validation. For example: If Not DataIsValid Then Msgbox strErrorMsg ' Returned from the function Exit Sub end IF Thanks -- Jac Tremblay |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF Function with multiple return values | Excel Worksheet Functions | |||
A Function to Return Top 5 Values Only | Excel Worksheet Functions | |||
vlookup function return all values | Excel Worksheet Functions | |||
Return an array of values from a function | Excel Programming | |||
Can a function return two values? | Excel Programming |