Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default New to Arrays, want to use them in user forms,

I'm new to using arrays, so not quite sure if I'm headed in the right
direction.

I have a user form that will collect up to 10 records with about 5 fields.
instead of loading the data into the workbook after each record I thought I
might be able to use an array, as the user might want to edit the records
before they actually store them.

At a high lievel, what would be the best way to do this?

I was thinking something along the lines of an 10 X 5 array (there probably
won't ever be an instance of more than 10 records, usually less), and then
adding to the array each time the user hits 'next record'. When they click
'view current' then populate a list box or something with the current array.
And when they hit 'eccept' then populating the worksheet. I have a few
questions about this approach, how do I handle clearing the array when they
want to start a new set?, How do I handle when they want to edit records in
the array before storing?

I've read some stuff on MSDN library and visited Chip Pearson's website but
I'm stull just a little confused on how array's work.

Thanks in advance for any help, direction you can give me.
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
passing arrays to user defined functions ramki Excel Worksheet Functions 2 February 15th 06 08:34 AM
Arrays in User defined functions Naomi Excel Programming 3 March 9th 05 02:25 PM
arrays on forms in Excel Bob Phillips[_6_] Excel Programming 0 June 29th 04 06:33 PM
Object arrays on forms Bob Phillips[_6_] Excel Programming 0 June 29th 04 06:32 PM
arrays on forms in Excel Chip Pearson Excel Programming 0 June 29th 04 05:19 PM


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