+ Reply to Thread
Results 1 to 2 of 2

Selecting a Dynamic range within a Table

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    Guernsey
    MS-Off Ver
    Excel 2010
    Posts
    80

    Selecting a Dynamic range within a Table

    Hi,

    My process is to find a column header value within a Table and then copy the used contents of that column to another sheet, i have the code to find the column header and then could just use
    Please Login or Register  to view this content.
    BUT the contents of the column may contain sporadic blank cells which would mean this piece of could would stop at the first blank cell and not copy the full contents, its also not very efficient to copy the entire column because of formula calculation time.

    This was my code:

    Please Login or Register  to view this content.
    Then i tried this, but the Resize would not work with the "RowNumber", maybe because its within a table

    Please Login or Register  to view this content.
    I want to keep the range values as dynamic as possible because this is live data and can expand daily so i dont want to use set ranges

    Let me know what i can do?

    Many Thanks

    SImon

  2. #2
    Registered User
    Join Date
    02-11-2013
    Location
    Guernsey
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Selecting a Dynamic range within a Table

    Ok sorry it does work i just needed a 1 instead of 0 for the column resize
    Please Login or Register  to view this content.

+ 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. Error when selecting dynamic range
    By BoRdo in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-03-2012, 09:04 AM
  2. Selecting a Dynamic Range
    By kyleg222 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 07-12-2012, 03:40 PM
  3. Selecting dynamic range within macro.
    By NickMinUK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2009, 06:25 AM
  4. [SOLVED] Selecting a dynamic range
    By Alex Nayar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-30-2005, 04:05 PM
  5. selecting a dynamic range
    By Alan M in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2005, 06:05 AM

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