LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Load a static array at procedure level

I am using Office 2003 on Windows XP.

I am trying to load a static array with data as follows:

At module level:
Private msColTotals() as String

In procedu
ReDim msColTotals(7)
msColTotals = Array("L", "X", "Y", "AA", "AB", "AF", "AJ")

But this fails. Can someone please post example code to fix this so it will
run?

Thanks much in advance.
 
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
Lookup from Static List/Array Support Excel Worksheet Functions 2 February 17th 06 06:40 PM
keeping a sum array static cmattmills Excel Worksheet Functions 4 February 8th 06 05:45 PM
Static and Dim outside procedure augustus Excel Programming 2 March 17th 05 06:21 AM
Stopping a 'multi-level' procedure Neal Zimm Excel Programming 1 February 25th 05 12:58 AM
Declaring array constants at module level Microsoft Forum Excel Programming 2 January 24th 05 06:31 PM


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