D
Dan
So, I've got a spreadsheet control on a page with a bunch of data in
it. Now I want to hookup a pivottable control to it...but I can't for
the life of me figure out how. I look in commands and options for the
PT, but done see the SS listed...
Here's the HTML for my page. Any help, appreciated. Oh, and if there
is an easier way to get CSV data into the PT, that's fine with me too
.
Thanks a bunch,
-Dan
(sorry for the relatively long source snippet - not sure what portion
of the SS XML I really needed to include)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<object classid="clsid:0002E551-0000-0000-C000-000000000046" id="ss1">
<param name="DataType" value="XMLDATA">
<param name="XMLData" value="<?xml version="1.0"?>
<ss:Workbook xmlns:x="urn:schemas-microsoft-comffice:excel"
xmlns:ss="urn:schemas-microsoft-comffice:spreadsheet"
xmlns:c="urn:schemas-microsoft-comffice:component:spreadsheet">
<x:ExcelWorkbook>
<xrotectStructure>False</xrotectStructure>
<x:ActiveSheet>0</x:ActiveSheet>
</x:ExcelWorkbook>
<ss:Styles>
<ss:Style ss:ID="Default">
<ss:Alignment ss:Horizontal="Automatic"
ss:Rotate="0.0" ss:Vertical="Bottom"
ss:ReadingOrder="Context"/>
<ss:Borders>
</ss:Borders>
<ss:Font ss:FontName="Arial" ss:Size="10"
ss:Color="Automatic" ss:Bold="0"
ss:Italic="0" ss:Underline="None"/>
<ss:Interior ss:Color="Automatic"
ssattern="None"/>
<ss:NumberFormat ss:Format="General"/>
<ssrotection ssrotected="1"/>
</ss:Style>
</ss:Styles>
<c:ComponentOptions>
<c:Label>
<c:Caption>Microsoft Office Spreadsheet</c:Caption>
</c:Label>
<c:MaxHeight>80%</c:MaxHeight>
<c:MaxWidth>80%</c:MaxWidth>
<c:NextSheetNumber>4</c:NextSheetNumber>
</c:ComponentOptions>
<x:WorkbookOptions>
<c:OWCVersion>10.0.0.5605 </c:OWCVersion>
<x:Height>7620</x:Height>
<x:Width>15240</x:Width>
</x:WorkbookOptions>
<ss:Worksheet ss:Name="Sheet1">
<x:WorksheetOptions>
<x:Selected/>
<x:ViewableRange>R1:R262144</x:ViewableRange>
<x:Selection>R6C3</x:Selection>
<x:TopRowVisible>0</x:TopRowVisible>
<x:LeftColumnVisible>0</x:LeftColumnVisible>
<xrotectContents>False</xrotectContents>
</x:WorksheetOptions>
<c:WorksheetOptions>
</c:WorksheetOptions>
<ss:Table ss:ExpandedColumnCount="3"
ss:ExpandedRowCount="5"
ssefaultColumnWidth="48.0"
ssefaultRowHeight="12.75">
<ss:Row>
<ss:Cell>
<ssata ss:Type="String">one</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="String">two</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="String">three</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
</ss:Row>
</ss:Table>
</ss:Worksheet>
<ss:Worksheet ss:Name="Sheet2">
<x:WorksheetOptions>
<x:ViewableRange>R1:R262144</x:ViewableRange>
<x:Selection>R1C1</x:Selection>
<x:TopRowVisible>0</x:TopRowVisible>
<x:LeftColumnVisible>0</x:LeftColumnVisible>
<xrotectContents>False</xrotectContents>
</x:WorksheetOptions>
<c:WorksheetOptions>
</c:WorksheetOptions>
</ss:Worksheet>
<ss:Worksheet ss:Name="Sheet3">
<x:WorksheetOptions>
<x:ViewableRange>R1:R262144</x:ViewableRange>
<x:Selection>R1C1</x:Selection>
<x:TopRowVisible>0</x:TopRowVisible>
<x:LeftColumnVisible>0</x:LeftColumnVisible>
<xrotectContents>False</xrotectContents>
</x:WorksheetOptions>
<c:WorksheetOptions>
</c:WorksheetOptions>
</ss:Worksheet>
</ss:Workbook>
">
<param name="AllowPropertyToolbox" value="-1">
<param name="AutoFit" value="0">
<param name="Calculation" value="-4105">
<param name="Caption" value="Microsoft Office Spreadsheet">
<param name="DisplayColumnHeadings" value="-1">
<param name="DisplayGridlines" value="-1">
<param name="DisplayHorizontalScrollBar" value="-1">
<param name="DisplayOfficeLogo" value="-1">
<param name="DisplayPropertyToolbox" value="0">
<param name="DisplayRowHeadings" value="-1">
<param name="DisplayTitleBar" value="0">
<param name="DisplayToolbar" value="-1">
<param name="DisplayVerticalScrollBar" value="-1">
<param name="DisplayWorkbookTabs" value="-1">
<param name="EnableEvents" value="-1">
<param name="MaxHeight" value="80%">
<param name="MaxWidth" value="80%">
<param name="MoveAfterReturn" value="-1">
<param name="MoveAfterReturnDirection" value="-4121">
<param name="RightToLeft" value="0">
<param name="ScreenUpdating" value="-1">
<param name="EnableUndo" value="-1">
</object>
<object id=pt1 classid=CLSID:0002E552-0000-0000-C000-000000000046>
<param name="XMLData" value="<xml
xmlns:x="urn:schemas-microsoft-comffice:excel">
<xivotTable>
<x:OWCVersion>10.0.0.5605 </x:OWCVersion>
<xisplayScreenTips/>
<x:CubeProvider>msolap.2</x:CubeProvider>
<x:CacheDetails/>
<xivotView>
<x:IsNotFiltered/>
</xivotView>
</xivotTable>
</xml>">
</object>
</body>
</html>
it. Now I want to hookup a pivottable control to it...but I can't for
the life of me figure out how. I look in commands and options for the
PT, but done see the SS listed...
Here's the HTML for my page. Any help, appreciated. Oh, and if there
is an easier way to get CSV data into the PT, that's fine with me too
.
Thanks a bunch,
-Dan
(sorry for the relatively long source snippet - not sure what portion
of the SS XML I really needed to include)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<object classid="clsid:0002E551-0000-0000-C000-000000000046" id="ss1">
<param name="DataType" value="XMLDATA">
<param name="XMLData" value="<?xml version="1.0"?>
<ss:Workbook xmlns:x="urn:schemas-microsoft-comffice:excel"
xmlns:ss="urn:schemas-microsoft-comffice:spreadsheet"
xmlns:c="urn:schemas-microsoft-comffice:component:spreadsheet">
<x:ExcelWorkbook>
<xrotectStructure>False</xrotectStructure>
<x:ActiveSheet>0</x:ActiveSheet>
</x:ExcelWorkbook>
<ss:Styles>
<ss:Style ss:ID="Default">
<ss:Alignment ss:Horizontal="Automatic"
ss:Rotate="0.0" ss:Vertical="Bottom"
ss:ReadingOrder="Context"/>
<ss:Borders>
</ss:Borders>
<ss:Font ss:FontName="Arial" ss:Size="10"
ss:Color="Automatic" ss:Bold="0"
ss:Italic="0" ss:Underline="None"/>
<ss:Interior ss:Color="Automatic"
ssattern="None"/>
<ss:NumberFormat ss:Format="General"/>
<ssrotection ssrotected="1"/>
</ss:Style>
</ss:Styles>
<c:ComponentOptions>
<c:Label>
<c:Caption>Microsoft Office Spreadsheet</c:Caption>
</c:Label>
<c:MaxHeight>80%</c:MaxHeight>
<c:MaxWidth>80%</c:MaxWidth>
<c:NextSheetNumber>4</c:NextSheetNumber>
</c:ComponentOptions>
<x:WorkbookOptions>
<c:OWCVersion>10.0.0.5605 </c:OWCVersion>
<x:Height>7620</x:Height>
<x:Width>15240</x:Width>
</x:WorkbookOptions>
<ss:Worksheet ss:Name="Sheet1">
<x:WorksheetOptions>
<x:Selected/>
<x:ViewableRange>R1:R262144</x:ViewableRange>
<x:Selection>R6C3</x:Selection>
<x:TopRowVisible>0</x:TopRowVisible>
<x:LeftColumnVisible>0</x:LeftColumnVisible>
<xrotectContents>False</xrotectContents>
</x:WorksheetOptions>
<c:WorksheetOptions>
</c:WorksheetOptions>
<ss:Table ss:ExpandedColumnCount="3"
ss:ExpandedRowCount="5"
ssefaultColumnWidth="48.0"
ssefaultRowHeight="12.75">
<ss:Row>
<ss:Cell>
<ssata ss:Type="String">one</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="String">two</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="String">three</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
</ss:Row>
<ss:Row>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">1</ssata>
</ss:Cell>
<ss:Cell ss:StyleID="Default">
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
<ss:Cell>
<ssata ss:Type="Number">2</ssata>
</ss:Cell>
</ss:Row>
</ss:Table>
</ss:Worksheet>
<ss:Worksheet ss:Name="Sheet2">
<x:WorksheetOptions>
<x:ViewableRange>R1:R262144</x:ViewableRange>
<x:Selection>R1C1</x:Selection>
<x:TopRowVisible>0</x:TopRowVisible>
<x:LeftColumnVisible>0</x:LeftColumnVisible>
<xrotectContents>False</xrotectContents>
</x:WorksheetOptions>
<c:WorksheetOptions>
</c:WorksheetOptions>
</ss:Worksheet>
<ss:Worksheet ss:Name="Sheet3">
<x:WorksheetOptions>
<x:ViewableRange>R1:R262144</x:ViewableRange>
<x:Selection>R1C1</x:Selection>
<x:TopRowVisible>0</x:TopRowVisible>
<x:LeftColumnVisible>0</x:LeftColumnVisible>
<xrotectContents>False</xrotectContents>
</x:WorksheetOptions>
<c:WorksheetOptions>
</c:WorksheetOptions>
</ss:Worksheet>
</ss:Workbook>
">
<param name="AllowPropertyToolbox" value="-1">
<param name="AutoFit" value="0">
<param name="Calculation" value="-4105">
<param name="Caption" value="Microsoft Office Spreadsheet">
<param name="DisplayColumnHeadings" value="-1">
<param name="DisplayGridlines" value="-1">
<param name="DisplayHorizontalScrollBar" value="-1">
<param name="DisplayOfficeLogo" value="-1">
<param name="DisplayPropertyToolbox" value="0">
<param name="DisplayRowHeadings" value="-1">
<param name="DisplayTitleBar" value="0">
<param name="DisplayToolbar" value="-1">
<param name="DisplayVerticalScrollBar" value="-1">
<param name="DisplayWorkbookTabs" value="-1">
<param name="EnableEvents" value="-1">
<param name="MaxHeight" value="80%">
<param name="MaxWidth" value="80%">
<param name="MoveAfterReturn" value="-1">
<param name="MoveAfterReturnDirection" value="-4121">
<param name="RightToLeft" value="0">
<param name="ScreenUpdating" value="-1">
<param name="EnableUndo" value="-1">
</object>
<object id=pt1 classid=CLSID:0002E552-0000-0000-C000-000000000046>
<param name="XMLData" value="<xml
xmlns:x="urn:schemas-microsoft-comffice:excel">
<xivotTable>
<x:OWCVersion>10.0.0.5605 </x:OWCVersion>
<xisplayScreenTips/>
<x:CubeProvider>msolap.2</x:CubeProvider>
<x:CacheDetails/>
<xivotView>
<x:IsNotFiltered/>
</xivotView>
</xivotTable>
</xml>">
</object>
</body>
</html>