Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Making a ConsolidationReference default to the current workbook.

I'm dynamically generating an XML spreadsheet in ASP.NET and setting
the content disposition to attachment so the user will be able to open
or save the document. If they select Open, "[1]" is getting appended
to the filename, which is breaking the ConsolidationReference FileName
setting in my pivot table. Is there a way to get a
ConsolidationReference to default to the current workbook?

Thanks in advance!

Paul

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Making a ConsolidationReference default to the current workbook.

Alright, let me break this down a little bit in case it wasn't clear
what I'm doing. I have a pivot table that can't connect to a live
cube, so I have it use local data within the spreadsheet. This works
as long as the filename of the spreadsheet doesn't change. The pivot
table knows to look within its own workbook (ReportOutput.xml) for the
worksheet containing the data used for the pivot table. But when
ASP.NET serves the document and the user clicks "Open," IE renames the
file to ReportOutput[1].xml, and the pivot table doesn't know where to
find the data. Is there a way to set a pivot table to just look in the
current workbook if you can't be certain what the filename of the
workbook is going to be?

Paul

wrote:
I'm dynamically generating an XML spreadsheet in ASP.NET and setting
the content disposition to attachment so the user will be able to open
or save the document. If they select Open, "[1]" is getting appended
to the filename, which is breaking the ConsolidationReference FileName
setting in my pivot table. Is there a way to get a
ConsolidationReference to default to the current workbook?

Thanks in advance!

Paul


Reply
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
Making a worksheet default Per[_2_] Excel Discussion (Misc queries) 1 March 28th 07 03:43 PM
Current file name in ConsolidationReference FileName Tambi Excel Programming 3 January 30th 07 05:15 PM
Making Negative Results Default to Zero jcoleman52 Excel Discussion (Misc queries) 1 December 22nd 05 02:54 PM
ExcelML and Pivots ConsolidationReference kleine98 Excel Discussion (Misc queries) 0 December 13th 05 05:37 PM
Track Changes: Making "All" the default Bettergains Excel Discussion (Misc queries) 0 January 11th 05 09:35 PM


All times are GMT +1. The time now is 10:51 PM.

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

About Us

"It's about Microsoft Excel"