Name

pivotcache.SaveAsODC(ODCFileName, [Description], [Keywords])

Synopsis

For pivot caches based on ODBC database queries, saves the connection and query information as a Microsoft Office Data Connection (.odc) file.

Argument

Settings

ODCFileName

The name of the file to create

Description

A description included in the connection file

Keywords

Keywords included in the connection file

Excel saves .odc files to C:\Documents and Settings\user\My Documents\My Data Sourcesby default.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.