Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax for variable
What is the syntax for declaring variabls in VBA functions that may or may
not be filled? Example: Function Jim(a,b,c,?,?,?) where ? are variables that may or may not be filled Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax for variable
Look up ParamArray in help, and this previous post http://tinyurl.com/c65h3
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "adamaagard" wrote in message ... What is the syntax for declaring variabls in VBA functions that may or may not be filled? Example: Function Jim(a,b,c,?,?,?) where ? are variables that may or may not be filled Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
syntax for variable
I think what you need is the keyword Optional:
Function Jim(a,b,c,Optional d,Optional e,Optional f) RBS "adamaagard" wrote in message ... What is the syntax for declaring variabls in VBA functions that may or may not be filled? Example: Function Jim(a,b,c,?,?,?) where ? are variables that may or may not be filled Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Syntax to Set variable range | Excel Programming | |||
SaveAs syntax when using a variable | Excel Programming | |||
Syntax for variable search | Excel Programming | |||
Syntax for variable search | Excel Programming | |||
Syntax for variable search | Excel Programming |