Results 1 to 5 of 5

Determining range for dynamic table

Threaded View

  1. #1
    Registered User
    Join Date
    07-18-2011
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    24

    Determining range for dynamic table

    How do I determine the table range for a table with varying number of columns. I will always have a set number of rows, but the number of columns will vary. The following code creates my columns.

    With Range("B9")
            .Value = Range("B6").Value
            .DataSeries Rowcol:=xlRows, Type:=xlChronological, Date:=xlMonth, Step:=1, Stop:=Range("B7").Value
        End With
    I will always have 9 rows, but I do not know how many columns. I would like to figure out the range.
    Last edited by kmoore; 07-20-2011 at 03:56 PM.

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