Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
I have a VBA function like this: Function Total(VarName1, VarTable, VarName2, VarValue1, VarName3, VarValue2) Inside the function, I have a query of the type: Total = "Select VarName1 From VarTable Where VarName2 = 'VarValue1' AND VarName3 = 'VarValue2' " The function will be used as Add-ins in Excel. Note the words that start with "Var..". In a cell, I would type: "=Total(..,..,..,..,..,..)" My question: How should I define Var.. ones in "Function Total(...)" and "Total = " so those values are typed inside the excel cell, and then scrolled down? Thanks, Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with a function that calls itself | Excel Programming | |||
STATISTIC FUNCTION USING EXCEL.. I NEED AN EXPERT | Excel Worksheet Functions | |||
Using ODBC function calls | Excel Programming | |||
COUNT function and errors within it - Need some expert knowledge | Excel Discussion (Misc queries) | |||
function calls | Excel Programming |