+ Reply to Thread
Results 1 to 2 of 2

Select Dynmaic Range in Macro

  1. #1
    Registered User
    Join Date
    06-01-2015
    Location
    Derby, England
    MS-Off Ver
    2013
    Posts
    87

    Select Dynmaic Range in Macro

    A new year, a new problem.

    I have a piece of code that looks up different projects in a database, depending on the project the data may have varying rows and columns returned.

    I need to select the range bounded by these two dimensions so that I can apply a formula and formatting to them. In the example attached the blue ranges may alter and I need to select the green range. Can anyone advise how to do this in a Macro please?

    Any and all help appreciated.

    Ed

    Dynamic Range Example.xlsx

  2. #2
    Registered User
    Join Date
    06-01-2015
    Location
    Derby, England
    MS-Off Ver
    2013
    Posts
    87

    Re: Select Dynmaic Range in Macro

    I should add that there are various options and headers around this data in my live sheet so I can't do a simple count of fields in a row or column. The number of rows and columns may change but the top left corner where the ranges meet will always be the same, I need to counts to start from here and ignore anything above of left of it.

    Ed

+ 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] help macro to select used range
    By sebastianaditya in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-17-2014, 07:19 AM
  2. [SOLVED] Macro to select a range of checkboxes
    By dwf357 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-24-2013, 05:30 PM
  3. [SOLVED] Highlight range of cells - run macro - select last cell in range
    By chromachem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2012, 11:46 AM
  4. Macro to select offset range
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2007, 10:50 AM
  5. [SOLVED] select a range in a macro
    By Andrew in forum Excel General
    Replies: 3
    Last Post: 05-10-2006, 03:50 PM
  6. Range Select Macro
    By Archie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2006, 05:00 PM
  7. Macro Help for SELECT RANGE
    By bludovico in forum Excel General
    Replies: 0
    Last Post: 05-11-2005, 01:48 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