Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Export 1-dimensional array values to a two-dimensional table?

Hi,

Now I have an array function to get a vector of values for a given age.

How can I use loops to export the array values for a set of ages?

I tried to use the age as a loop indicator but it seems not working.

Thank you very much for your help and any suggestion in advance!!!

Sincerely,
Laurie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 367
Default Export 1-dimensional array values to a two-dimensional table?

On Nov 8, 7:15 am, Laurie wrote:
Hi,

Now I have an array function to get a vector of values for a given age.

How can I use loops to export the array values for a set of ages?

I tried to use the age as a loop indicator but it seems not working.

Thank you very much for your help and any suggestion in advance!!!

Sincerely,
Laurie


Hi Laurie

if you could post a little bit more information we could maybe help
you better.
The loop itself shouldn't be the problem, but:
- Where do you want to export them.
- How does your array function look like.
- How are your ages built up (integer for every year, or every 5
years....?)

Carlo

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Export 1-dimensional array values to a two-dimensional table?

Hi Carlo,

Thanks for your reply!!

I have figured out how to export the values by using loops in the macro.

Basically, I have an array function generating a vector of values for each
age. I was planning to export the values to an Excel worksheet, with one
column for each age to hold the vector of values. When the vector of one age
had been exported, move to the next column for the next age (consecutive
integer age).

Anyway, the solution was using two offsets in one line of the code rather
than in two lines with each line having one offset of the reference.

Thanks again,
Laurie


"carlo" wrote:

On Nov 8, 7:15 am, Laurie wrote:
Hi,

Now I have an array function to get a vector of values for a given age.

How can I use loops to export the array values for a set of ages?

I tried to use the age as a loop indicator but it seems not working.

Thank you very much for your help and any suggestion in advance!!!

Sincerely,
Laurie


Hi Laurie

if you could post a little bit more information we could maybe help
you better.
The loop itself shouldn't be the problem, but:
- Where do you want to export them.
- How does your array function look like.
- How are your ages built up (integer for every year, or every 5
years....?)

Carlo


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
Changing a two-dimensional, one row array to one-dimensional Alan Beban[_2_] Excel Programming 1 September 16th 07 08:56 PM
permutation of values in 2 dimensional array [email protected] Excel Programming 1 August 21st 06 08:36 PM
Create One-Dimensional Array from Two-Dimensional Array Stratuser Excel Programming 1 February 23rd 05 08:46 PM
2 Dimensional Array Tom Ogilvy Excel Programming 0 August 18th 03 08:04 PM
2 Dimensional Array steve Excel Programming 0 August 18th 03 07:19 PM


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