Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How should I do this (function or Visual basic) Pasi[_2_] Excel Worksheet Functions 5 November 24th 08 07:42 PM
Call a Visual Basic Function with VLookup ajd Excel Worksheet Functions 10 December 18th 07 03:40 AM
Microsoft Visual Basic: Compile error: Sum or Function not defined Dmitry Excel Worksheet Functions 12 April 3rd 06 07:28 AM
Visual Basic macro to do something that is done trhough an Excel function Thierry[_2_] Excel Programming 2 December 11th 03 08:58 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"