+ Reply to Thread
Results 1 to 3 of 3

Need help in setting boundaries in excel VBA (or is it called setting arrays?)

  1. #1
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Need help in setting boundaries in excel VBA (or is it called setting arrays?)

    Hi all,


    for example there is a number in Cell A1, then another number in Cell A4, Another number in Cell A10. How do i set boundaries in a way that Starting from Cell A1 up to cell A3, all rows are Boundary1, and all rows from Cell A4 to cell A9 is another boundary, and so on? I have an idea how to do it but i dont know the exact command. Something like excel will examine each cell in column A:A, and if it reaches cell A1, and then A4, the macro will declare entire rows of A1:A3 the first boundary, and after going through A4 and it detects another number in cell A10, excel will declare all the rows from A4 to A10 as the other boundary. How can this be done? I am very sorry im not good with arrays

  2. #2
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: Need help in setting boundaries in excel VBA (or is it called setting arrays?)

    bump, anyone?

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,485

    Re: Need help in setting boundaries in excel VBA (or is it called setting arrays?)

    Maybe you should post an example workbook with data to better explain what it is you are after.
    Cheers
    Andy
    www.andypope.info

+ 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. setting up an setting of limited characters per cell
    By itzmemike in forum Excel General
    Replies: 21
    Last Post: 02-05-2013, 09:48 PM
  2. Setting class to Nothing re-setting project
    By Kyle123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2011, 11:38 AM
  3. Runtime Error 1004 when Setting Setting Series Values
    By tonymctigue in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-09-2010, 10:05 AM
  4. Setting Arrays in VB using layout in spreadsheet
    By jyaeger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2007, 09:10 AM
  5. Setting Tab in Excel
    By RabbiWife in forum Excel General
    Replies: 3
    Last Post: 03-02-2005, 01:06 PM

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