+ Reply to Thread
Results 1 to 2 of 2

using Range.select to create an dynamic array from an Excel Worksheet

  1. #1
    Registered User
    Join Date
    04-05-2019
    Location
    London
    MS-Off Ver
    10
    Posts
    1

    using Range.select to create an dynamic array from an Excel Worksheet

    Hi There,

    I am trying to create an array Btarray from copying the value in the range A5:C8 in my worksheet. I will like this to be dynamic which can be increased or decreased in terms of rows (for example A5:C17 or A5:C7).

    I am having two challenges 1). how to ignore the empty cells before my array begins 2) Ending the array when after the blank cells.

    So far I have this.

    Please Login or Register  to view this content.
    Last edited by AliGW; 05-29-2019 at 08:02 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,937

    Re: using Range.select to create an dynamic array from an Excel Worksheet

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Populate Dynamic Array from Cell Values and write to Dynamic Range
    By TFiske in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-22-2018, 09:09 AM
  2. How to select dynamic array
    By igoodable in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2016, 03:51 PM
  3. Make 'ActiveSheet.Range("C5:N100").Select' - select a dynamic range of cells
    By white_ross in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2016, 10:00 AM
  4. Excel VBA Select Dynamic Range on each worksheet and ClearContents
    By takchin.tc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2013, 05:33 AM
  5. [SOLVED] Create new worksheet based on dynamic range
    By colins5286 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-17-2013, 03:34 PM
  6. Replies: 0
    Last Post: 10-13-2012, 10:13 PM
  7. select dynamic range with dynamic start point
    By Juli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2005, 08:05 PM

Tags for this Thread

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