Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Mutli-dimensional Array to Single-Dimension Array

Hello

I'm trying to take one column (or row - I get confused) out of a 2
dimensional array and place the data into a one dimensional array.

I have a array (0 to 10,0 to 40) and would like to obtain an array with the
data (1,0 to 40) but have no idea what the notation is for this.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Mutli-dimensional Array to Single-Dimension Array

A couple of clarifying questions:

Are you just trying to extract a subset of your current data?

Do you want to have an active link to this data, such that if the original
data changes, the one column/row updates as well?

Is this just 'data' or are you dealing with numbers that you are performing
matrix operations on?

Answer these and the solution will probably be pretty simple.

Eric
"Blue Aardvark" wrote in message
...
Hello

I'm trying to take one column (or row - I get confused) out of a 2
dimensional array and place the data into a one dimensional array.

I have a array (0 to 10,0 to 40) and would like to obtain an array with
the
data (1,0 to 40) but have no idea what the notation is for this.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Mutli-dimensional Array to Single-Dimension Array

Its pure data. I am trying to make a recordset into the source for a chart.
So I am turning the recordset into an array and then feeding rows of the
array into the Charts.SeriesCollection.


"Eric" wrote:

A couple of clarifying questions:

Are you just trying to extract a subset of your current data?

Do you want to have an active link to this data, such that if the original
data changes, the one column/row updates as well?

Is this just 'data' or are you dealing with numbers that you are performing
matrix operations on?

Answer these and the solution will probably be pretty simple.

Eric
"Blue Aardvark" wrote in message
...
Hello

I'm trying to take one column (or row - I get confused) out of a 2
dimensional array and place the data into a one dimensional array.

I have a array (0 to 10,0 to 40) and would like to obtain an array with
the
data (1,0 to 40) but have no idea what the notation is for this.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 783
Default Mutli-dimensional Array to Single-Dimension Array

Blue Aardvark wrote:
Hello

I'm trying to take one column (or row - I get confused) out of a 2
dimensional array and place the data into a one dimensional array.

I have a array (0 to 10,0 to 40) and would like to obtain an array with the
data (1,0 to 40) but have no idea what the notation is for this.


If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook:

MyArray1D = ConvertBase(Application.Index(arr, 2, 0), 0)

Alan Beban
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
Writing Single Dimension Array to Active Sheet Fid[_2_] Excel Programming 2 June 23rd 05 09:26 PM
Create One-Dimensional Array from Two-Dimensional Array Stratuser Excel Programming 1 February 23rd 05 08:46 PM
Array transfer - 1 dimension v. 2 dimension JWolf[_2_] Excel Programming 2 June 29th 04 01:02 AM
Getting excel array dimension banavas[_3_] Excel Programming 3 June 8th 04 12:11 PM
single dimension array RobcPettit Excel Programming 3 January 20th 04 08:33 AM


All times are GMT +1. The time now is 10:19 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"