Results 1 to 3 of 3

Constant Array?

Threaded View

  1. #1
    Registered User
    Join Date
    07-01-2009
    Location
    Maryland
    MS-Off Ver
    Excel 2003
    Posts
    35

    Constant Array?

    Is it possible to use a contstant array in Excel VBA? I have tried several differnt ways to declare it, but the VBA editor keeps yelling at me. The following did not work:

    Public Const VarName(1 to 5) as string = (values)
    
    Public Const VarName(5) as string = (values)
    
    Public Const VarName[5] as string = (values)
    Last edited by Pherion; 07-27-2009 at 05:48 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1