+ Reply to Thread
Results 1 to 3 of 3

ReDim Public Variable

  1. #1
    mpeplow
    Guest

    Question ReDim Public Variable

    I need to decalre a public array and redim the arrey dimensions accroding to the final row in the spread sheet.

    This is easily done with a local variable within a private sub. The problem is that the data is not reconised by the entire modual.

    With the Public array declared in the global decleration, the variable is reconised by all of the sub with in the modual, how ever I am unable to ReDim it using the final Row variable.

    Basically, How do I declare a Public array with using My FinalRow variable as the dimensions?

    Thanks in Advanced. This forum rules!

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    I'm not sure what your problem is, but I hope that you find some help in here:
    Please Login or Register  to view this content.

  3. #3
    mpeplow
    Guest
    Thats what I needed! Thanks!

+ Reply to Thread

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