ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I use an array function in Visual basic .NET? (https://www.excelbanter.com/excel-programming/314406-how-do-i-use-array-function-visual-basic-net.html)

cirrus

How do I use an array function in Visual basic .NET?
 
To enter an array function directly in a spreadsheet you use
Ctrl-Shift-Enter. Obviously, you can't do that when writing VB code. Are
array functions accessible from VB. I am trying to use an array function
using MATCH and IF to look up a row based on two parameters in different
columns.

Tom Ogilvy

How do I use an array function in Visual basic .NET?
 
Array functions can't be used in VBA. You have to pass them as you would
write them in the cell to the evaluate function. The evaluate function
would then return the result.

--
Regards,
Tom Ogilvy

"cirrus" wrote in message
...
To enter an array function directly in a spreadsheet you use
Ctrl-Shift-Enter. Obviously, you can't do that when writing VB code. Are
array functions accessible from VB. I am trying to use an array function
using MATCH and IF to look up a row based on two parameters in different
columns.





All times are GMT +1. The time now is 04:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com