LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,059
Default 2D array of strings problem

On Feb 18, 11:09*pm, Walter Briscoe
wrote:
Robert Crandal writes
Sub DoStuff (A as Integer, B as Integer)
Dim (A, B) as String * ' This creates an error!


You have not named that array
Dim X(A, B) as String ' Gets no error


Until you try to call it. Then you get the runtime error "compile
error: constant expression required".
 
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
REARRANGE STRINGS IN ARRAY !!!! jay dean Excel Programming 3 March 30th 10 02:18 PM
Passing an array of strings from VBA to C Francogrex Excel Programming 1 January 23rd 10 10:41 PM
Creating an array of strings John Excel Programming 1 March 1st 09 02:51 AM
Array of Strings Zone Excel Discussion (Misc queries) 3 July 7th 06 04:52 PM
Counting Strings in an Array ExcelMonkey[_190_] Excel Programming 9 March 16th 05 09:21 AM


All times are GMT +1. The time now is 09:48 PM.

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"