Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
| Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 8th, 2005, 03:15 PM
Registered User
 
Join Date: Sep 2005
Location: Summit, New Jerse, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pivot Table Dynamic Reference Data

I already have a pivot table created using pivot table wizard. The layout for the pivot table is expected to remain unchanged. However, I am trying to write code that adjusts the reference source range to reflect the number of rows in the source range (located in a different worksheet). In other words, the only thing that is expected to change regarding pivot table and/or source data is number of rows. Can you assist? Thanks.

(By the way, I have seen several codes using the PivotCaches.Add method. However, I think it's an overkill for my purpose)

T Oyelesi
  #2 (permalink)  
Old September 9th, 2005, 02:35 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Bournemouth, Dorset, United Kingdom.
Posts: 180
Thanks: 0
Thanked 0 Times in 0 Posts
Default

may I suggest you look at the following posting...

http://p2p.wrox.com/topic.asp?TOPIC_ID=34586

It follows a very similar line to your requirement.

Cheers

Matt

  #3 (permalink)  
Old August 4th, 2006, 07:28 AM
Registered User
 
Join Date: Aug 2006
Location: London, , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ladybird
Default

comanalysis@yahoo.co.uk

Hi Tobi,

This is way off the subject but do you know a Janet Adeyemi??
:)

Quote:
quote:Originally posted by oyelesit
 I already have a pivot table created using pivot table wizard. The layout for the pivot table is expected to remain unchanged. However, I am trying to write code that adjusts the reference source range to reflect the number of rows in the source range (located in a different worksheet). In other words, the only thing that is expected to change regarding pivot table and/or source data is number of rows. Can you assist? Thanks.

(By the way, I have seen several codes using the PivotCaches.Add method. However, I think it's an overkill for my purpose)

T Oyelesi


Similar Threads
Thread Thread Starter Forum Replies Last Post
help writing dynamic form data to dynamic table ublend SQL Server ASP 1 June 1st, 2007 08:09 AM
help writing dynamic form data to dynamic table ublend Classic ASP Professional 1 June 1st, 2007 08:08 AM
Dynamic Pivot Table Filter?? tready Excel VBA 1 February 21st, 2006 01:27 AM
How to replace pivot table data fields using VBA? rstober Excel VBA 2 August 19th, 2005 06:06 AM
Getting the data in columns - like Pivot Table merguvan Access VBA 4 February 29th, 2004 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.