Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default losing arrays

I'm just beginning to use arrays and have a question:

I have created an array in VB using data from an Excel
spreadsheet. The array is populated just like I expect.
I then want move to a legacy program to populate the
legacy program with the data from the array for the first
item, then the second, third, etc. However, the array is
not visible in the "locals" window when I move to the
legacy program. It appears that it is being deleted or
lost.

Previously, I was able populate variables, move to the
legacy program, write the variable, move back to the
spreadsheet, move down a row, repopulate the variables and
then write the new variable in the legacy program.

I was hoping to move once to the legacy program and
populate a number of different rows using the array.

Any help you can provide with stopping the array from
going away would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default losing arrays

Mike,

Is the legacy program an Excel app, or something completely different?

Is the array declared as a public variable?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"mike" wrote in message
...
I'm just beginning to use arrays and have a question:

I have created an array in VB using data from an Excel
spreadsheet. The array is populated just like I expect.
I then want move to a legacy program to populate the
legacy program with the data from the array for the first
item, then the second, third, etc. However, the array is
not visible in the "locals" window when I move to the
legacy program. It appears that it is being deleted or
lost.

Previously, I was able populate variables, move to the
legacy program, write the variable, move back to the
spreadsheet, move down a row, repopulate the variables and
then write the new variable in the legacy program.

I was hoping to move once to the legacy program and
populate a number of different rows using the array.

Any help you can provide with stopping the array from
going away would be greatly appreciated.



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
LOSING FORMATS [email protected] Excel Discussion (Misc queries) 0 March 18th 09 08:34 PM
Losing the #DIV/0! mevetts Excel Worksheet Functions 4 January 8th 06 09:34 PM
Losing hyperlinks RedChip Excel Discussion (Misc queries) 0 November 30th 05 10:56 AM
Losing Add-Inn Functionality Ben Excel Discussion (Misc queries) 0 April 20th 05 06:06 AM
Losing numbers rydog Excel Worksheet Functions 2 January 13th 05 04:37 PM


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