LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default clearing array contents

Hello.

I am working with an array to aid in summing the cost of a bill of materials
structure.

The array has an element for each level of the bill of materials, say level
1 to level 8. (sometimes higher, program defins it based on min and max found
in the level structure)

There are times in the summing process when I need to clear out part of the
array contents, say from level 5 to level 8. I can do that by using a
counter and a for loop, and clearing each one.

My question is, is there a one program line method to clear a group of the
array elements, something that would assign levArray(lev5, lev6, lev7, lev8)
all to 0 in one step?

Thanks.
Mark
 
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
Clearing Contents AMANDA Excel Discussion (Misc queries) 2 July 6th 09 05:34 PM
Clearing contents not formatting JSnow Excel Discussion (Misc queries) 3 August 13th 08 04:26 PM
clearing the contents of specified cells Jimmy Pop Excel Programming 5 May 27th 05 01:17 AM
Clearing Contents Sean Excel Programming 5 May 6th 05 05:16 PM
Clearing Contents but not Formulas Louise Excel Worksheet Functions 6 January 27th 05 05:04 PM


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