+ Reply to Thread
Results 1 to 3 of 3

range pivottable

  1. #1
    Registered User
    Join Date
    05-11-2007
    Location
    Belgium
    Posts
    68

    range pivottable

    my pivottable has a certain fixed range to his datasource

    Please Login or Register  to view this content.
    to this data source periodically new rows are added. With a fixed range he can't retrieve the new information.

    1. In the datasource I should find the last row number. ok
    2. This number should become part of the range. How to write the range of the pivot to his source along code ?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Something like

    Please Login or Register  to view this content.
    link should be helpful

    http://www.ozgrid.com/VBA/ExcelRanges.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    05-11-2007
    Location
    Belgium
    Posts
    68

    postion cell

    If you find the last cell in a column or row how can you get his position ?
    Suppose (row20:column5) is the last cell before a blank how do I know that. I need to know the position. With this position I can say to format the cells from the first position to the last position. With the code below he only select the cell.

    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)

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