+ Reply to Thread
Results 1 to 2 of 2

Storing Range Values into Array

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    4

    Storing Range Values into Array

    Hello,

    I am having an issue when trying to store values from a user selected range into a data array. I want to do this so that I can pass this array into another subroutine and create a histogram.

    The error given is mismatch between range and array type but don't know how to fix this.

    Code:

    Please Login or Register  to view this content.
    Thanks!
    Last edited by thewizz; 08-07-2012 at 01:29 PM. Reason: code tags

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Storing Range Values into Array

    To comply with forum rules you should add code tags to your first post.

    An example of populating arrays from ranges:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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