LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
Flu Flu is offline
external usenet poster
 
Posts: 5
Default changing pivot table into a formula table

thanks.
That is of great help.

"Mike H." wrote:

The number of rows is not relevant. The macro should take that just fine.
To expand the columns you'd need to modify the code
ActiveCell.FormulaR1C1 = FString
Range("E" & x).Select
Selection.Copy
Range("E" & x + 1).Select
ActiveSheet.Paste
Range("E" & x).Select

Selection.Copy
Range("F" & x).Select
ActiveSheet.Paste
Selection.Copy
Range("F" & x + 1).Select
ActiveSheet.Paste

Selection.Copy
Range("G" & x).Select
ActiveSheet.Paste
Selection.Copy
Range("G" & x + 1).Select
ActiveSheet.Paste


'you'd need to add code to continue out to H, I etc til you get to the Dec
column...


Let Cumulators = 0
Let Cumulator2 = Cumulator2 + 1
DataArray2(Cumulator2, 1) = x


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table changing sum values using VB Barchetta Excel Programming 0 December 18th 07 11:37 AM
Pivot Table changing itself? PaulW Excel Discussion (Misc queries) 1 February 16th 07 03:18 PM
Changing the Layout of a Pivot Table prana1 Excel Discussion (Misc queries) 5 February 10th 07 03:08 AM
Pivot Tables -changing datasource for exsting Pivot Table kfschaefer Setting up and Configuration of Excel 0 May 30th 06 06:36 PM
Changing the data of a Pivot Table Bonbon Excel Discussion (Misc queries) 2 February 20th 06 04:37 PM


All times are GMT +1. The time now is 09:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"