Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Array of data in Excel Visual Basic

Hi
I have a big 3 dimensions array of data (integers).
I want to load this data the first time the workbook will run so i could use it later on in functions/formulas that I'll create in VB.

example:

Dim arr(10,10,10) As Integer
Public Function GetData(x,y,z) As Integer
GetData = arr(x,y,z)
End Function

How do I load the data into the arr(10,10,10) array (let say the data is in other excel file or in one of the sheets in the same workbook)

I don't want to load the data every time I call the function from the worksheet - it is big data base

Thanks
Gaza
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
Visual Basic Chart Objects array CloudDoctor[_2_] Excel Programming 4 June 27th 08 03:34 PM
how to export data from excel to visual basic how to import data from excel to visual Excel Programming 1 September 9th 07 11:15 AM
Get The Length of data type of excel using visual basic [email protected] Excel Programming 2 June 2nd 06 02:24 PM
Can I run Visual Basic procedure using Excel Visual Basic editor? john.jacobs71[_2_] Excel Programming 3 December 26th 05 02:22 PM
How do I use an array function in Visual basic .NET? cirrus Excel Programming 1 October 22nd 04 04:23 PM


All times are GMT +1. The time now is 02:07 PM.

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

About Us

"It's about Microsoft Excel"